I've spent a good portion of my life cutting code for lots of different purposes and there are some principles I'd like to espouse which I reckon have a lot to do with good coding.
Firstly, everything has a nature and the code should reflect the nature of the thing being coded about. So a bank account has a balance and a car has a number of wheels. If you try to create an object of bank accounts (plural) you'll always end up running into
Sunday, December 13, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment