Erdal TAŞKESEN

The Era of Micro Packages

28 April 2020

I’ve been planing to write a blog post about this for a long. Building small, focused modules/package means reusability and makes it possible to build larger more advanced apps.

As stated by Douglas McIlroy, Unix programs have always been expected to follow the concept of DOTADIW:

“Do One Thing And Do It Well.”

Some people are obsessive about the LOC (Lines of Code). You shouldn’t care about it. it’s not the key in the modular development. All you need to know is how to use the lego blocks to build a castle. But even Modularity is a powerful concept, but like anything else, it’s not a magic stick.

One programmer broke the internet

There was a situation in 2016. A man named Azer Koçulu broke the internet by removing just a micro-package named left-pad cause many projects using it as a dependency. The impact of these was large as it was being used a large number of very popular project like (Babel, Atom, React, and etc.)

SOURCES:

Tags: programming