I have designed a component of a web system with my workmate. in detail, I am just a coder instead of a designer, as all of it are designed by my manager. during the programme, we encounter much of problems, most of which can be avoided. as a result, we delay the finished time. we spent much of time Revising program for the design is being changed all the time. I am baffling with the dynamic requir Ement. It is common that I just finish a function with spending lots of time when the requirement is changed. What shoshould I do? For example, I have alter the construct of the database table much times, which leads to a result that I have to resvise the routine. it is not the most disgusted thing that I'm confronted. I code in a bad system which has a terrible framework. I have to change my code each time a external system modifies their interface or convention. it makes me upset. I think a robost system shocould be able handle kinds of change without modifying itself. that's the goal of our programmer.
In my opinion, when we design a system, we shoshould design its framework, instead of coding first. if it depends on a external system, we prefer to depend on our inernal interface which will depend on the external system. so when a external system changes its interface or requirement, we have to modify the inernal interface instead of much code. that is to abstract the function.
When coding in a fresh System