| ▲ | malfist 5 hours ago |
| > Before, people were responsible for the dependencies they were importing. This is an attitude not reflective of reality for those that wrote code in the pre npm days |
|
| ▲ | jbm 5 hours ago | parent [-] |
| Yeah, and it isn't even a JavaScript thing either. The famous "import antigravity" strip from XKCD was about python. The fact is we always were dependent on others. |
| |
| ▲ | animal_spirits 5 hours ago | parent | next [-] | | That XKCD comic is demonstrative of the opposite of what OP is talking about. Python and JavaScript are on opposite sides of the spectrum about what is included in the language and what is not. Python is “batteries included” which is why you can just “import antigravity” rather than “pip install antigravity”. JavaScript and NPM sit on the other end, where you have to infamously install the leftpad library to pad strings with spaces on their left, which left thousands of packages broken when it was taken off npm. | |
| ▲ | lincon127 5 hours ago | parent | prev [-] | | I mean, I don't think the stereotypical JS and Python developer are all that different... at least when it comes to dependency management. |
|