Eiffel Coding Standard: Difference between revisions

From EiffelStudio: an EiffelSoftware project
Jump to navigation Jump to search
Manus (talk | contribs)
No edit summary
Manus (talk | contribs)
No edit summary
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 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