News for hackers. Stuff that matters.
Re:Things I Regret About Node.js [video] by ChicagoDave on Wednesday June 06, 2018 @04:40PM (#17250913)
I'm not a huge NodeJS developer, but have done enough (and other development) to think this is not a good solution to the packaging/dependency problem.

My experience with npm issues were usually that some dependency had its own build process.

There are so many inconsistencies in how JS libraries are packaged and downloaded. I think scripting in general leaves the whole dependency thing out in the wind.

Now. If we could turn packages into testable objects, that would be cool.

Re:Things I Regret About Node.js [video] by thecrazyone on Wednesday June 06, 2018 @09:00PM (#17252434)
Well, packages are testable. You can test the api of a package today. Having people write said tests is the tough part.

Did you mean to say something else?

Re:Things I Regret About Node.js [video] by ChicagoDave on Wednesday June 06, 2018 @10:39PM (#17252836)
I meant more like a binary compiled object. So many libraries have a highly varied set of folders and files. It’s just messy.