Article View: comp.lang.modula2
Article #3569Modula-2 name convention
From: Erik Lindstr|m
Date: Fri, 19 Dec 1986 12:17
Date: Fri, 19 Dec 1986 12:17
35 lines
1511 bytes
1511 bytes
Hallo!
To make my progamming in Modula-2 easier, I have made up my own
nameconvention. It has the following appearance:
I) Always use capitals to mark new words in long names.
Ex. LongIdentifyerWithManyWords.
II) Names of variables, constants and procedureparameters
always begins with small letters.
Ex. variableOrConstantName.
III) Names on types, procedures and modules always starts with
a capital.
Ex. MODULE WordCounter;
I would like to hear some comments on this convention and also if
there is a standard "namerule" that programmers in general use. Or
is it a "wild" mixture in the Modula-2 program-jungle.
Please send mail, post an article to news or what ever! THANKS!
Erik Lindstroem
Institute of Information processing
University of Umea
S-901 87 UMEA
SWEDEN (The land of the midnight-hackers)
UUCP: mcvax!enea!luth!umecs!karhu
Technical Details
Message-ID:
<277@umecs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!enea!luth!umecs!karhuShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!enea!luth!umecs!karhu From: karhu@umecs.UUCP (Erik Lindstr|m) Newsgroups: comp.lang.modula2 Subject: Modula-2 name convention Message-ID: <277@umecs.UUCP> Date: Fri, 19-Dec-86 07:17:58 EST Article-I.D.: umecs.277 Posted: Fri Dec 19 07:17:58 1986 Date-Received: Sat, 20-Dec-86 06:05:13 EST Organization: Dep. of Info.Proc, Umea Univ., Sweden Lines: 35