Stewart Stremler wrote: > I admit that every so often I'm clever in code. I just try to make a > point of not admiring such things too much. My problem is that I > don't remember what the code does after a week or so... so I'm always > the jerk who write that damn stupid piece of clever code that's hard > to figure out. Writing code with maintenance in mind saves *me* effort.
I tend to think of cleverness and "easy to figure out" as orthogonal issues. Sometimes really clever approaches to coding make everything so much simpler. Sure, cleverness for its own sake rarely results in code that is manageable, but cleverness as a solution to a real design problem frequently works out quite well. --Chris -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
