3 ms·
i'm so used to python's stdlib that whenever i go to javascript i get legit angry. i really like writing typescript code, but holy shit, when you have to pull
by fernandotakai 6y ago
i'm so used to python's stdlib that whenever i go to javascript i get legit angry.
i really like writing typescript code, but holy shit, when you have to pull libraries to even the smallest thing (lol left-pad), it get super infuriating.
- alerighi 6y agoJavaScript standard library was maybe bad in the past but nowadays they added a lot of features (yes, even left-pad). Sure, if you know that you have to support old and broken browsers you have to use these dependencies to ensure correct support, but if you know that your code will run on a specific interpreter (for example a modern version of nodejs, or modern browsers) you don't have to worry about it too much. Also most JavaScript programmers tends to abuse dependencies, I mean even for things that are really 10 lines of code that you write in 1 minute.