Changes between Version 3 and Version 4 of DevelopmentGuidelines

Show
Ignore:
Timestamp:
07-02-11 16:54:47 (3 years ago)
Author:
jannekevdp@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentGuidelines

    v3 v4  
    3939 * In Java, naming conventions for identifiers have been established and suggested by various Java communities such as Sun Microsystem<ref>"Code Conventions for the Java Programming Language", [http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html Section 9: "Naming Conventions"]</ref>, Netscape<ref>"NETSCAPE'S SOFTWARE CODING STANDARDS GUIDE FOR JAVA",[http://collaboratory.emsl.pnl.gov/docs/collab/sam/CodeStandards.html Collab Software Coding Standards Guide for Java]</ref>, AmbySoft<ref>"AmbySoft Inc. Coding Standards for Java v17.01d", [http://www.ambysoft.com/essays/javaCodingStandards.html]</ref> and etc. A sample of naming conventions set by Sun Microsystem are listed below:  
    4040{| class="wikitable" border="1" 
    41 |- 
    42 ! Identifier Type 
    43 ! Rules for Naming 
    44 ! Examples 
    45 |- 
    46 | Classes  
    47 | Class names should be nouns, in mixed case with the first letter of each internal word capitalized. Try to keep your class names simple and descriptive. Use whole words-avoid acronyms and abbreviations (unless the abbreviation is much more widely used than the long form, such as URL or HTML). 
    48 | class Raster; 
    49 class ImageSprite;  
    50 |- 
    51 | Methods 
     41||Identifier Type||Rules for Naming||Examples|| 
     42||Classes||Class names should be nouns, in mixed case with the first letter of each internal word capitalized. Try to keep your class names simple and descriptive. Use whole words-avoid acronyms and abbreviations (unless the abbreviation is much more widely used than the long form, such as URL or HTML).||class Raster;class ImageSprite;  
     43||Methods 
    5244| Methods should be verbs, in mixed case with the first letter lowercase, with the first letter of each internal word capitalized. 
    5345| run();