Sunday, November 7, 2010

Clean Code

I've started reading Robert Martin's Clean Code: A Handbook of Agile Software Craftsmanship and am thoroughly inspired to whip my code base into shape. Here's a sample:

“But wait!” you say. “If I don’t do what my manager says, I’ll be fired.” Probably not. Most managers want the truth, even when they don’t act like it. Most managers want good code, even when they are obsessing about the schedule. They may defend the schedule and requirements with passion; but that’s their job. It’s your job to defend the code with equal passion.

From "Attitude" in Chapter 1.