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 best advice. Always print a meaningful error message. Always this. Always that. You have so many things in the background that you're supposed to do, there's no room left to think. I say, forget all that and ask yourself, 'What's the simplest thing that could possibly work?' I think the advice got turned into a command: 'Do the simplest thing that could possibly work.' That's a little more confusing, because there isn't this notion that as soon as you've done it, we'll evaluate it.
More from Ward Cunningham
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 wheth…
Permalink to quote #41 There's been an awful lot of discussion about what is or isn't simple, and people have gotten a pretty sophisticated notion of simplicity, but I'm not sure it …
Permalink to quote #43 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