Re:Always Review Your Dependencies, AGPL Edition
by kerkeslager on Monday January 06, 2020 @03:09AM
(#21967452)
Okay, but let's be clear about why we're putting "modern" in quotes. Sure, pulling in half of NPM is a common way to do things currently, but it's also a very painful way to do things, currently. A "modern" dependency tree is going to cause you tons of pain, starting with having to configure your dependency tree and getting worse from there. If you use a few, small, effective dependencies, you can reasonably do a cursory code review with every upgrade, and there are other major benefits.
Don't let some drive to be "modern" cause you to use libraries that make things more difficult than using vanilla JS.
Re:Always Review Your Dependencies, AGPL Edition
by fhars on Monday January 06, 2020 @02:54AM
(#21967382)
But doesn‘t that say more about modern leftpaddable frontend frameworks than about the author?
Re:Always Review Your Dependencies, AGPL Edition
by taneq on Monday January 06, 2020 @04:44AM
(#21967880)
It sure does. ‘Don’t repeat yourself’ and ‘avoid NIH syndrome’ are noble goals but ‘automatically update myriad libraries from random sources on the internet and then run them’ gives me the heebie jeebies.
Re:Always Review Your Dependencies, AGPL Edition
by josteink on Monday January 06, 2020 @03:10AM
(#21967459)
What this guy does sounds like a machine-doable job.
At our company we use whitesource to scan each and every build for these kind of license violations.
Re:Always Review Your Dependencies, AGPL Edition
by randomsearch on Monday January 06, 2020 @03:15AM
(#21967480)
Nearly spat out my cereal, thanks. Funny because accurate. As a relatively new node dev, this is what keeps me awake at night.
Re:Always Review Your Dependencies, AGPL Edition
by oblio on Monday January 06, 2020 @03:56AM
(#21967676)
And his comment is copy-paste from Reddit: https://old.reddit.com/r/programming/comments/ekjacu/this_is...
Slightly ridiculous that we're getting to this point :-)
If this guy has to work on a "modern" frontend project, he's gonna review dependencies until the heat death of the universe.