Eiffel Coding Standard: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Category:Coding Standards]] | [[Category:Coding Standards]] | ||
==Language consideration== | |||
* Do not put a blank line between | * Do not put a blank line between | ||
:* '''create''' and creation instructions | :* '''create''' and creation instructions | ||
:* '''inherit''' and parent clauses | :* '''inherit''' and parent clauses | ||
* Do not use assertion clauses without tag names. | |||
* | ==Style== | ||
* If instructions: | |||
<e>if expr1 then | |||
... | |||
elseif expr2 then | |||
... | |||
else | |||
... | |||
end | |||
</e> | |||
Revision as of 08:50, 2 August 2013
Language consideration
- Do not put a blank line between
- create and creation instructions
- inherit and parent clauses
- Do not use assertion clauses without tag names.
Style
- If instructions:
if expr1 then ... elseif expr2 then ... else ... end