Design for future changes or solve the problem at hand.
Posted
by
Naveen
on Programmers
See other posts from Programmers
or by Naveen
Published on 2009-03-24T17:50:50Z
Indexed on
2011/03/19
8:18 UTC
Read the original article
Hit count: 335
design
While writing the code or during design do you try to generalize the problem at the first instance itself or try to solve that very specific problem. I am asking this because, trying to generalize the problem tends to complicate the things (which may not be necessary) and on the otherhand it will be very difficult to extend the specific solution if there is a change in the requirement. I guess the solution is to find the middle path which is easier said than done. How do you tackle this type of problem ? If you start generalizing it at what point of time you know that this much of generalization is sufficient ?
© Programmers or respective owner