4 ms·
One nice thing about languages like C is that a lot of programmers just avoid dependencies because dealing with them kind of sucks. That's one solution to this
by swiley 9y ago
One nice thing about languages like C is that a lot of programmers just avoid dependencies because dealing with them kind of sucks. That's one solution to this problem.
- LaneRendell 9y agoHaha, I was just about to come say that.
- alanh 9y agoyou're not wrong. once i wrote a whole blog post about how to properly include Boost into C++ code using a particular IDE.
- seanp2k2 9y agoI put Boost up there with PyQt in terms of my annoyance with it and how hard is had been to get it working correctly for the things which have required it. The XQuartz stuff with macOS is also pretty annoying. Bash an OpenSSL versions would be another.
- Waterluvian 9y agoI love Python for this. Big standard library. I hate JavaScript for this... So many weird legacy issues that generally get resolved with libraries. Though ES6 went a long long way.
- seanp2k2 9y agoES6 does not fix the left-pad issue; there is a propensity to use a package to get one small function vs using a library of common helper functions (which is somewhat what e.g. ES6 helps with...less need for underscore or similar). You pretty much don't need jquery now, but so many things depend on it for convenience / backward compatibility / because it's so insanely battle-tested that you know that it will work or at least have a StackOverflow explaining why a particular thing does a thing in a weird way.
- Ajedi32 9y ago> ES6 does not fix the left-pad issue Actually, for that particular problem... https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStart https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- Can_Not 9y ago> there is a propensity to use a package to get one small function vs using a library of common helper functions Lodash functions are available in both forms.
- freshhawk 9y agoIt is good for security research, since that introduces so many security holes of such wonderful diversity that there is a much larger ecosystem to study.
- sametmax 9y agoYeah this way you reinvent a less unit tested, battle field tested and documented wheel. It's like saying the good thing with not having a cellphone is that you avoid a lot of fight with your girlfriend cause you can't talk as much.
- dom0 9y ago> It's like saying the good thing with not having a cellphone is that you avoid a lot of fight with your girlfriend cause you can't talk as much. I can't quite see what's wrong with that...
- tokenizerrr 9y agoDo you have a cellphone? If so, throw it into the trash right now.
- swiley 9y agoI would if I had a girlfriend and she was ok with it. I feel like it's hard to date without one which really sucks.
- GrumpyNl 9y agoThe node.js community sees that very different and thats one aspect i dont understand, the blinded trust in dependencies. A midsize project will need quickly a 1000+ dependencies and we have to trust them all.