Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tutorials:advanced:cram-macros [2022/04/10 23:34] – luca | tutorials:advanced:cram-macros [2022/04/10 23:34] (current) – luca | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Defining new macros ===== | + | ====== Defining new macros====== |
Disclaimer: | Disclaimer: | ||
A general rule of thumb is to try and not define new macros if they are not needed, or if they do not serve a specific purpose, since, while they do make the code more readable in some cases, they also make it way harder to debug the code. | A general rule of thumb is to try and not define new macros if they are not needed, or if they do not serve a specific purpose, since, while they do make the code more readable in some cases, they also make it way harder to debug the code. | ||
- | ====== Defining new macros====== | ||
===== Syntax ===== | ===== Syntax ===== | ||