Tuesday 25 August 2015

Clean Code

I'm re-reading Clean Code by Robert C. Martin and a few quotes from the intro have really stuck out:

"Quality is the result of a million selfless acts of care - not just of any great method that descends from the heavens".

I like this quote a lot. I'd take the word "selfless" out of it though. When I'm writing code I'm often thinking about Future Me and trying to make his life as easy as possible. Every act of care, or short-cut not taken, makes Future Me's life that bit easier. I want Future Me to not curse Past Me.

The idiom "a bad penny always turns up" is cited too. This one rings true. The amount of times a short-cut taken in a fatigued moment has come back to bite me is unnerving!

No comments:

Post a Comment