Quote:
Originally Posted by username
Adding to what RelaX says, you will always do something wrong the first time you program it. This is why there are multiple versions and programming techniques like refactoring. Once you learn how to do it, a better way is almost always found.
|
So true... which is why OOP and spending lots of time on design is so crucial. In theory, if you do those perfect, then if you find a better way for a method or object to handle it's responsibilities, then you have to spend only a small amount of time to re-implement those methods and objects.
The real problems are changes in the design though. Even with proper OOP, if your design is seriously flawed, then it WILL mean lots of cursing and shouting at the pc trying to right the wrong and you'll probably end up with a real hackjob.