# Readability

##### Tags:

- C/AL
- Readability

##### Categories:

- Best Practice

## C/AL Coding Guidelines

## Readability

Generally, all readability rules are Microsoft style choices only. You can use them to keep consistency with the existing code.

Find the C/AL guidelines by expanding the menu in the left.

##### Begin as an 'After Word'

##### Begin-End - Compound Only

##### Binary Operator to Start Line

##### Blank Lines

##### CASE Action

##### Colon usage in CASE

##### Comments inside Curly Brackets

##### Comment Spacing

##### END ELSE Pair

##### Indentation

##### Keyword Pairs - Indentation

##### Line Start Keywords

##### Lonely Repeat

##### Named Invocations

##### Nested WITHs

##### One Statement Per Line

##### Separate IF and ELSE

##### Spacing Binary Operators

##### Spacing Brackets and ::

##### Spacing Unary Operators

##### Suggested Abbreviations

##### Temporary Variable Naming

##### TextConst Suffixes

##### Unary Operator Line End

##### Unnecessary Compound Parenthesis

##### Unnecessary ELSE

##### Unnecessary Function Parenthesis

##### Unnecessary Separators

##### Unnecessary TRUE/FALSE

##### Variable Already Scoped

##### Variable Naming

##### Variables Declarations Order

Last modified February 24, 2022: Added tags & categories + cleanup (5ee04366) by waldo1001