Skip to content

Commit 46a1a66

Browse files
committed
Update.
1 parent 360c34a commit 46a1a66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/instructions/pascal.instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ applyTo: "**/*.pas,**/*.dpr,**/*.inc"
1919
- Mark read-only parameters as const.
2020
- Use Windows units first, then RTL/VCL units, then Components units, then Shared units, then project specific units.
2121
- Using variable name Res as a shortcut for Result is allowed.
22+
- Class methods should be static when possible.
2223
# Code editing guidelines for Pascal source files
2324
- Do not modify existing comments unless the code they describe is also being changed.
2425
- When modifying code that calls Windows APIs, read the actual documentation before writing code. Do not assume parameter semantics based on similar APIs.

0 commit comments

Comments
 (0)