>And talking about mistakes,everyone makes them
Of course. We all do that. And since we know we all do that we should realize the importance of using tools (such as code design) so we at least make less mistakes.
>you've said it yourself: "it's a trivial example".
>so why geting so religious about it?
More frustrated than religous as I don't seem able to explain that it isn't the actual code itself Im discussing, but the design descicions behind it. The code in question was just used for illustrating the point I'm trying to make.
>would you like to clarify your question?
It was a rethorical question with the answer "No".
Anyway, I've given up. It all bottles down to
Code:
"Any fool can write code that a computer can understand.
Good programmers write code that humans can understand."
from R. Fowler, Refactoring: Improving the Design of Existing Code (which I recommend you'd read if you'd actually be interested in what I try to say, though I doubt you are)
I won't spam this thread any more, drop me a mail if you want to discuss it further. perfnurt@hotmail.com
/Per
"It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."