mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 14:52:03 +01:00
Updated wikipage Eiffel Coding Standard. (Signed-off-by:jocelyn).
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2101 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[[Property:modification_date|Tue, 30 Oct 2018 14:56:21 GMT]]
|
||||
[[Property:modification_date|Mon, 03 Dec 2018 10:00:43 GMT]]
|
||||
[[Property:publication_date|Tue, 30 Oct 2018 14:56:21 GMT]]
|
||||
[[Property:uuid|0CD0A1B2-42F8-48E0-B419-61B4DC076C1B]]
|
||||
[[Property:weight|2]]
|
||||
@@ -29,7 +29,7 @@ create
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make (a: INTEGER)
|
||||
-- Initialize Current with `a'.
|
||||
-- Initialize Current with `a`.
|
||||
do
|
||||
end
|
||||
|
||||
@@ -50,7 +50,7 @@ end</e>
|
||||
|
||||
If expressions are very long, break them on conjunctions as in:
|
||||
<e>if
|
||||
expr1 or else
|
||||
expr1 and then
|
||||
expr2
|
||||
then
|
||||
...
|
||||
@@ -82,7 +82,10 @@ else
|
||||
...
|
||||
end</e>
|
||||
|
||||
* For punctuation, we always have no space before '''(''' and a space after ''')''', ''',''', ''':''', or ''';''':
|
||||
* For punctuation, we always have
|
||||
** a space before, and no after `(`
|
||||
** no space before, and space after `)` `,` `:` or `;`
|
||||
|
||||
<e>require
|
||||
a_tag: query (a, b, c) or other_query (c, d)
|
||||
local
|
||||
|
||||
Reference in New Issue
Block a user