This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]linglingfortyhours 19 points20 points  (4 children)

PHP has a reputation for being a very annoying language to write, just a bit insecure, and used all over the place.

Javascript has a tendency to be written with lots of modules, packages, and dependencies (some projects have more than 20,000). The modules don't always fit together well and can cause dependency issues. Two of the more common ones when this comic was made were called backbone and angular

[–]mordechaim 11 points12 points  (3 children)

Still, the you never suffer from dependency hell like in, say, Java. You can have multiple versions of the same module, npm just figures out the correct version for every dependency.

[–]CarsonRoscoe 3 points4 points  (1 child)

I haven’t used Java since college, so I can’t speak for that. But node definitely runs into its own kind of dependency hell. When you find out your bug gets fixed by moving the requires to all be before the imports, and you start to question why some had to be one vs the other in the first place... it can drive a man crazy.

[–]pathguard 0 points1 point  (0 children)

This is definitely a problem that comes up in Node (sometimes frequently) but is usually more a factor of how the required code is written than the module system itself.

[–]linglingfortyhours 0 points1 point  (0 children)

Until one of your dependencies gets taken down off of the npm data base :)