It's OK to figure out murder mysteries, but you shouldn't need to figure out code. You should be able to read it.
Steve McConnell quote
Advertisement
More from Steve McConnell
-
Good code is its own best documentation. As you're about to add a comment, ask yourself, "How can I improve the code so that this comment isn't needed?" Improve the code and then document it to make it even clearer.
-
Building software implies various stages of planning, preparation and execution that vary in kind and degree depending on what's being built. [...] Building a four-foot tower requires a steady hand, a level surface, and 10 undamaged beer cans. Building a tower 100 times that size doesn't merely require 100 times as many beer cans.
-
Heuristic is an algorithm in a clown suit. It’s less predictable, it’s more fun, and it comes without a 30-day, money-back guarantee.
-
Good code is its own best documentation.
-
It's better to wait for a productive programmer to become available than it is to wait for the first available programmer to become productive.
-
A brute force solution that works is better than an elegant solution that doesn't work.