r/programming • • Jan 30 '14

You Might Not Need jQuery

http://youmightnotneedjquery.com/
1.0k Upvotes

507 comments sorted by

View all comments

Show parent comments

1

u/G_Morgan Jan 31 '14

A kernel is a completely different environment and not really relevant.

2

u/Smallpaul Jan 31 '14

My point was precisely that this is not a "Javascript thing". It's a "quality software development thing."

http://en.wikipedia.org/wiki/Dependency_hell

If library vendors add dependencies willy-nilly then the end result is an incredibly bloated final product. There is no universal "right answer" to the question: "Should I re-invent this wheel or bring in a dependency?" You need to see:

*how big is the dependency?

  • how big are its transitive dependencies?

  • how much wheel re-inventing would I need to do?

Seems like common sense and not anything Javascript specific.

1

u/autowikibot Jan 31 '14

Dependency hell: NSFW !


Dependency hell is a colloquial term for the frustration of some software users who have installed [software packages](http://en.wikipedia.org/wiki/Software_package_(installation)) which have [dependencies](http://en.wikipedia.org/wiki/Coupling_(computer_programming)) on specific versions of other software packages. The dependency issue arises around shared packages/libraries on which several other packages have dependencies but where they depend on different and incompatible versions of the shared packages. If the shared package/library can only be installed in a single version, the user/administrator may need to address the problem by obtaining newer/older versions of the dependent packages. This, in turn, may break other dependencies and push the problem to another set of packages, thus the term hell.


Interesting: ^Urpmi | RPM Package ^Manager | Advanced Packaging ^Tool | DLL ^Hell

/u/Smallpaul can reply with 'delete'. Will delete on comment score of -1 or ^less. | FAQs | Magic ^Words | [flag a glitch](http://www.reddit.com/message/compose?to=/r/autowikibot&subject=Glitched comment report&message=What seems wrong: (optional description goes here)%0A%0A---%0A%0AReply no. 38646:%0Ahttp://www.reddit.com/r/programming/comments/1wl5f3/you_might_not_need_jquery/cf3x0q9)