Difference between revisions of "Eiffel Coding Standard"

Line 1: Line 1:
 
[[Category:Coding Standards]]
 
[[Category:Coding Standards]]
{{UnderConstruction}}
+
==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.
 
* Do not use assertion clauses without tag names.
 +
 +
==Style==
 +
*  If instructions:
 +
<e>if expr1 then
 +
    ...
 +
elseif expr2 then
 +
    ...
 +
else
 +
    ...
 +
end
 +
</e>

Revision as of 00: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