Eric Dietrich, over at DaedTech, explains how he writes good code. It’s a post worth a read in full, but here is a summary:
- Make it easy to change
- Make it really readable
- Make it work
- Make it elegant
- Learn from accomplished practitioners
He is also listing a few books to learn from (the Amazon links are those of Eric – I have no idea if they are affiliated or not, but if they are, he’ll get the credit, like he deserves):
- Clean Code: A Handbook of Agile Software Craftsmanship
- The Clean Coder: A Code of Conduct for Professional Programmers
- The Pragmatic Programmer: From Journeyman to Master
- Working Effectively with Legacy Code
- Test Driven Development: By Example
- Code Complete: A Practical Handbook of Software Constructio