Each of our programs has something in common,
which is a waste of time and mind.
It's fine when the common part is simple,but not always the case.
Has anyone ever thought of this kind of question?
The goal is:
When we do coding,we only do the new,say,the part not similar with any part done before.
If there is a good solution,it'll be a great relief for many programmers!
Yes, I thought and think about that every single day - the solution is not simple but it is attainable: always try to factor out what is common among your code into reusable artifacts. That is the solution, but it doesn't happen by accident - it is a daily effort.