On dependency

I was trying to explain why I wouldn’t always use a library when making something. One of the great issues of development is we’ve taken library away from it’s meaning as a place of books and study to just mean “code others can use”. So lots of code uses libraries, Office will share code between excel and word. Specll checking is spell checking after allz.

However, each library has a life, and unlike a library in the real world, the library basically has a distinct lfe span (funding cuts aside) and so it’s more a chalice that is not yet poisoned. And if you choose a library, like a babushka, in that library may be other libraries and then you reach a problem when two libraries both need a library and those libraries are different versions and so uh oh.

A library collapses because it has two libraries which need different libraries seems quite the death of the language.

So when I write, I tend to avoid using a library unless I need to. WordPress is increasingly a library, I use Jquery sometimes still, but I tend to avoid it. React is everywhere now. Every static site generator is a library now as well. Everything is a dialect or a language of it’s own. Programming is a pre babel cluster of everything.

So there’s a case for esperanto in the form of just using javascript. It doesn’t need anything else and deep down, all the other libraries are just javascript anyways. It is slower to write your own and it makes dependcies on yourself, but it makes you in control, and you know it’s life time. Without that, dependency seems to mean you’re waiting for bad news.