Let's not worry about what somebody reading the code tomorrow is going to think. Let's not worry about whether it's efficient. Let's not even worry about whether it will work. Let's just write the simplest thing that could possibly work.
More from Ward Cunningham
So today, let's write a program simply. But let's also realize that tomorrow, we're going to make it more complex, because tomorrow it's going to do more. So w…
Permalink to quote #40 You are always taught to do as much as you can. Always put checks in. Always look for exceptions. Always handle the most general case. Always give the user the…
Permalink to quote #42 There is an art to knowing where things should be checked and making sure that the program fails fast if you make a mistake. That kind of choosing is part of t…
Permalink to quote #39