Update AL coding guidelines to use PascalCase for variable and function names
- Corrected naming conventions in the AL code style documentation to specify PascalCase instead of camelCase for variables and functions. - Adjusted examples throughout the documentation to reflect the updated naming conventions. - Enhanced clarity in performance guidelines by renaming procedures for better understanding.
This commit is contained in:
parent
6b3f522a16
commit
2a805b20dc
6 changed files with 15 additions and 16 deletions
|
|
@ -26,7 +26,7 @@ Optimize queries by filtering data as early as possible to reduce data transfer
|
|||
|
||||
```al
|
||||
// Good example - Early filtering
|
||||
procedure GetCustomersByCity(CityFilter: Text): Integer
|
||||
procedure GetNumberOfCustomersByCity(CityFilter: Text): Integer
|
||||
var
|
||||
Customer: Record Customer;
|
||||
begin
|
||||
|
|
@ -43,7 +43,7 @@ end;
|
|||
|
||||
```al
|
||||
// Bad example (avoid processing all records)
|
||||
procedure GetCustomersByCity(CityFilter: Text): Integer
|
||||
procedure GetNumberOfCustomersByCity(CityFilter: Text): Integer
|
||||
var
|
||||
Customer: Record Customer;
|
||||
Count: Integer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue