ICodeNazi

No more bad code for you!

Spartan Programming

Coding Horror: Spartan Programming

Minimalism isn’t always the right choice, but it’s rarely the wrong choice. You could certainly do worse than to adopt the discipline of spartan programming on your next programming project.

You could a lot worse than listening when Jeff talks… And I pretty much agree with him on Spartan Programming. I like my code short and sweet, but some of the ideas are just too much. renaming variables from “msg” to “m” doesn’t really make the code any better, it just makes it a little bit harder to realize that “m” was the e-mail message. “msg” on the other hand makes it just a little bit easier to remember… ;)

July 8, 2008 Posted by noocyte | Refactor | , | No Comments Yet