3 ms·
I work in an org with a few tens of "microservices". Some are written in python, some in go, and some in js or typescript. The each yarn.lock file, individually
by ploxiln 5y ago
I work in an org with a few tens of "microservices". Some are written in python, some in go, and some in js or typescript. The each yarn.lock file, individually, is bigger than the whole JS application it serves, and bigger than most of our microservices written in python or golang in their entirety (including their lock files which are like 40 to 100 lines). These js dependency trees are completely un-reviewable and absolutely absurd.
The theory about tiny libraries enabling tiny programs might work if developers were targeting microcontrollers, but developers have comparatively infinite cpu, memory, and disk, they've lost perspective, and the result is truly ABSURD. 10 big fat libraries are smaller than 2000 micro-libraries.