Changes between Version 7 and Version 8 of CodingConventions
- Timestamp:
- Mar 24, 2009, 3:22:11 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingConventions
v7 v8 1 1 == Coding Conventions == 2 2 3 Coding conventions are a pref fered way of doing things.3 Coding conventions are a preferred way of doing things. 4 4 5 5 '''Files''' … … 24 24 This way the original views are available as direct access to the data for administration. If the domain changes enough a "grails generate-all" can be performed on most domains without losing the customisations. Proposed suffix 'Detailed as in detailing a car, customised or air-brushed, unless a better suffix is suggested. 25 25 26 '''Documentation''' 27 28 The documentation is along side the source for good reason they need to be kept in sync. Document and code simultaneously. If you code a feature, document it as you go or better still design the feature by using the documentation then code and document as you go. This way the two are really not that different. Use self documenting code, don't abbreviate: ''!LinIntDist'' could mean a lot of things ''!LinthianInternalDistortion'' is a lot more clear.