Difference: SoftwareStandards (2 vs. 3)

Revision 32023-08-04 - CathyBareiss

Line: 1 to 1
 
META TOPICPARENT name="CSC122SylF2021"

Software Standards

Overview

Line: 33 to 33
 
  • No method/function (including comments) should be more than 66 lines long (except in extreme cases). This is to encourage proper modularilty of code.
  • White space should be used increase readability.
  • Field variables should only be used to store information between method calls.
  • Changed:
    <
    <
  • Constants should be names entirely with uppercase letters and numbers
  • >
    >
  • Constants should be named entirely with uppercase letters and numbers
  •  
  • Class names must start with an uppercase letter and contain at least one lower case letter.
  • Variables and method/function numbers must start with a lowercase letter
  • Field variables should be labeled as private unless there is a specific reason to use another label.
  •  
    This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
    Ideas, requests, problems regarding TWiki? Send feedback