Reinvent the wheel or not!

Bhavik Bansal
2 min readJul 14, 2016

--

Use Library or build things yourself.

With the growing open source community, at times a question arises in a developers mind whether to write their own code or depend on a library.

To quote Shakespeare’s Hamlet : To be or not to be-that is the question.

A confused mind

Question is not always that you should use a library or not but there is always a bigger picture that you should keep in mind, whether including a library in your project solves a bigger problem or will it just make your work easy. Sometimes you just struggle because of bugs in that library that are yet to be solved and rather than making your work easy you keep on hassling around, by making workarounds that may or may not be there if you would have just given some time in building your own code. The real problem in writing your own code to some times you face is time especially in a product company as that is in my case. So sometimes I tend to include libraries that have many open issues just to save a day or two.

I have seen people struggling by taking a wrong decision of adding some library and building there project around that library and ‘having’ problems on each step ahead but they cant do anything as major portion of their project depends on it.

So according to me the real solution to this problem is not reinventing the wheel but to perfect it by taking things in modular manner from a library and that is very easy to do because of the open source nature of many libraries.

You don’t have to reinvent the wheel every day. Today you will do what you did yesterday, and tomorrow you will do what you did today. Eventually you will get somewhere.

Suggestions:

Don’t include a complete library, rather integrate them module by module. Dig deep into library so that you make most use of it. Before including libraries have a through research on their issues and open bugs. Believe in yourself and don’t rely on libraries rather take inspirations and add your knowledge to it.

You don’t learn to walk automatically. You learn by doing and falling over.

Found this post useful? Kindly tap the ❤ button below! :)

Cheers,

Bhavik Bansal,

Software Eng. Gridle

--

--

Bhavik Bansal

Software Engineer at @gridle.io, a foodaholic and a huge sitcom fan. I may not be good at remembering things but i am really good at understanding them.