@misterjesus @Alex Gleason @anime graf mays 🛰️🪐 I dont think thats an A-B comparason. You can 100% build Javascript that doesnt require npm. You probably don't want to do that unless you are doing something VERY basic The same is true with PHP. At some level of complexity, you are going to need to use externally written code. PHP SUCKS for this. The best solution i found was using composer, which is infinitely more shit than npm I would go as far as to say, PHP doesn't really have a good niche atm other than being quick and dirty
How is composer "infinitely more shit" than npm? I've had more issues with npm than composer. I've had more issues with third-party npm packages than anything from PHP land. Though I was using smaller libraries like Flight. Also, a lot of third-party libraries can be used without composer. IIRC I can just vendor a directory and use autoload.
@misterjesus @Alex Gleason @anime graf mays 🛰️🪐 The number of times composer would fail silently astounds me. npm is pretty obvious if something goes wrong, and it typically only goes wrong when youre doing something you shouldnt be doing (100x more eyes looking at npm makes it less buggy imo)
I've had odd problems with NPM as well. I'm not too fond of dependency systems in general.
@misterjesus @Alex Gleason @anime graf mays 🛰️🪐 I guess i tend to work on projects large enough where we need to use them. Im not managing that many libs manually
I guess i tend to work on projects large enough where we need to use them I’ve worked on some very large projects (100,000s of lines of code), and we didn’t have them. We had a DLL folder (this was old school .NET Framework). It worked fine. You don’t have people doing dumb stuff like importing a whole library for a trivial piece of code. I try to avoid libraries these days unless it is worth using them. Im not managing that many libs manually I suppose you haven’t been burned enough by dependency hell yet. EDIT: BTW, I am not saying you should or shouldn’t use them. I am just saying that there are drawbacks to using dependency management systems.
@misterjesus @Alex Gleason @anime graf mays 🛰️🪐 Im not about to impliment object factories in C++ from scratch... Im going to use com Not gonna whinge about who has the bigger cock. I just don't think this is gonna be a constructive conversation in general
@LESS THAN 200 DAYS UNTIL CHRISTMAS @Alex Gleason @anime graf mays 🛰️🪐 @misterjesus npm creates node_modules with 20000 files in it when you install one little thing