🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.modula2
1 messages
1 total messages Started by Erik Lindstr|m Fri, 19 Dec 1986 12:17
Modula-2 name convention
#3569
Author: Erik Lindstr|m
Date: Fri, 19 Dec 1986 12:17
35 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads