Stendhal code design: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Durkham No edit summary |
imported>Hendrik Brummermann |
||
| Line 73: | Line 73: | ||
* We use tab for all indentation. |
* We use tab for all indentation. |
||
* We do not stick too closely to line length. |
* We do not stick too closely to line length. |
||
We always use blocks in if-statements and loops, even if the block only consists of one single statement: |
|||
if (condition) { |
|||
method(); |
|||
} |
|||