alguidelines/content/docs/BestPractices/comments-spacing/index.md
2022-03-26 09:01:43 +01:00

23 lines
428 B
Markdown

---
title: "Comment Spacing"
tags: ["AL","Readability"]
categories: ["Best Practice"]
---
_Created by Microsoft, Described by waldo_
## Description
Always start comments with // followed by one space character.
## <span style="color:FireBrick">Bad code</span>
```al
RowNo += 1000; //Move way below the budget
```
## <span style="color:ForestGreen">Good code</span>
```al
RowNo += 1000; // Move way below the budget
```