Changes between Version 20 and Version 21 of Development/CodeConventions

Show
Ignore:
Timestamp:
03/16/10 07:55:32 (5 years ago)
Author:
benl (IP: 129.94.242.47)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/CodeConventions

    v20 v21  
    5151 
    5252 * Most names should use camel case style, but it's ok to use underscores in a postfix when naming different "versions" of a value. For example: 
    53  
    54 {{{ 
     53  {{{ 
    5554 let  pastaSalad        = initialSalad 
    5655      pastaSalad_spiced = addSpice pastaSalad "Oregano" 
     
    5857      ... 
    5958 in   ... pastaSalad_baked ... 
    60 }}} 
     59  }}} 
    6160 Avoid using names like `pastaSalad'` and `pastaSalad''`, because the prime doesn't provide any additional documentation. 
    6261