Jul 24 2008
Minimalist Coding Style
From notesfromatooluser.com:
““Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away” - Antoine de Saint Exupéry. If you’ve ever invited me do some pair programming with you, you probably have a good idea what this quote is all about. I often wind up asking questions like:
* Why do you need this boolean named retVal? Could it be eliminated the use of early return statements?
* Is the else clause in this if statement necessary? Could it be avoided with a return statement? Or break/continue in a loop?
* I noticed that this method has parts that are nested five levels of braces deep. Is there anything we can do to reduce that?”
Related posts:
- Minimalist-style cooking for the holidays Technorati Tags: minimalist,cooking,holidays From unclutter.com: "Wednesday, Bittman wrote a...
| 2 views | Tags: minimalist, programming









