Changes between Version 25 and Version 26 of Development/CodeConventions


Ignore:
Timestamp:
May 18, 2011, 5:39:00 AM (8 years ago)
Author:
benl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/CodeConventions

    v25 v26  
    176176}}}
    177177
    178 Using a "where" is ok when it just does something simple, like initialise the loop. However, any time "baz" does something interesting you should use a let, otherwise the conceptual flow of the code is ruined. Using let over where also makes it easier to convert to strict Disciple code.
     178Using a "where" is ok when baz does something trivial, like initialise a loop. However, any time "baz" does something interesting you should use a let, otherwise the conceptual flow of the code is ruined. Using let over where also makes it easier to convert to strict Disciple code.
    179179
    180180