Thursday, March 24, 2016

The dependencies in Javascript projects have played a trick on the developers using them.

Many Javascript and Ruby developers have the addiction of using the dependencies of 1 line of code long instead of writing that line of code themselves. But one must remember that a dependency makes you dependent. Here's my previous article about the matter http://www.alexmaslakov.com/2016/02/that-application-is-wise-which-has-less.html

And here you go:

http://www.theregister.co.uk/2016/03/23/npm_left_pad_chaos/

http://www.haneycodes.net/npm-left-pad-have-we-forgotten-how-to-program/

Note that some of the dependencies in npm had literally 1 line of code.

No comments :

Post a Comment