News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by lanstin on Saturday May 15, 2021 @02:33PM (#27167701)
Diff being you usually have like five python deeps for every hundred npm deps a d you can do the old school thing and subscribe to the security alerts for those deps. The difference in number of deps means you have the cognitive space to understand them. Npm needed to automate because the numbers are too high. One of python’s old selling points was “Batteries included”. And the idea is fewer large library rather than a bunch of tiny libraries.

With a small number of deps where you skim the development DL, you know if there is a security issue or a cool new feature you want. Also it has more of the Unix C philosophy of don’t break stable APIs in new releases. So upgrading mostly just worked. (Stuff like deliberately breaking old SSL protocols aside). (Until python 3 of course.)

Re:Modern Javascript: Everything you missed over the last 10... by jonnycomputer on Saturday May 15, 2021 @04:20PM (#27168627)
I got to pains to limit how many python external libraries I use, for all these reasons. But because Python is so capable on its own, it works.