Need help here,
I'm a coder who has always felt the weight of a tremendously strong force pushing him to reinvent the wheel. It was so strong that I was nearly trying to reinvent jQuery lately [Note] and this really made me think.
I read also these well written articles, but they don't give any practical suggestions to follow in order to avoid the reinventing wheel 'brain spiral'.
- http://stackoverflow.com/questions/18428/what-considerations-should-be-made-before-reinventing-the-wheel
- http://reprog.wordpress.com/2010/03/03/whatever-happened-to-programming/#comment-4101
Since I'm pretty sure this brute force does not push only on my brain (and I don't have money to go to a psychiatrist right now), I'm asking to the few part of coders in this website who have ever felt the same (or almost the same) of me, or maybe are still feeling the same sometimes:
HOW DO YOU HANDLE THIS MENTALLY?
What do you think (I mean the mental process, the thoughts) that halps you avoiding the somehow idious thing to reinvent the wheel?
What mental process helps you repress (or at least refrain) such force?
I read also this question: http://stackoverflow.com/questions/18428/what-considerations-should-be-made-before-reinventing-the-wheel But it's more about real consideration, it doesn't take into account feelings. Since I'm pretty sure some of you felt my feelings more than once, so you perfectly know how it feels, you know how strong is the desire to reinvent the wheel, I'm sure I'm asking to the proper audience.
There must be one or more coders here that felt the same, but came out from this auto-destruction desire, how did you do this?
[Note] FYI: luckily this time I ended up convincing myself not to do this and I reached a compromise with my insight, I'm writing just an interface that below uses jQuery. Obviously I write new functions of the interface only when I need them. In this way I waste no time, and if I will ever have spare time, I will slowly go through each function of my interface and replace the jQuery calls with a code written by myself. I know one day when Javascript will be obsolete like Assembler or Pascal, I will look back at this as another crazy thing I did, but at least a good comprimise rather than completely reinventing jQuery.