Live data from Hacker News

Show HN: Test your JavaScript modules simultaneously in 32 different versions of Node.js

victorbjelkholm.github.io

11–20 of 69 posts

Re: Show HN: Test your JavaScript modules simultaneously in 32 different versions of Node.js

#12

Dumb question, from someone who doesn't work with Node.js: Why are there 32 versions of it?

Semantic versioning -- basically each version here is x.y.z for some x, y, z. Node patch releases (.z) happen reasonably fast and constitute a "version of node" as used here.

Re: Show HN: Test your JavaScript modules simultaneously in 32 different versions of Node.js

#13
post #5

Frankly, I feel like this is an indictment of all software development, everywhere. When you need to do this kind of a thing, you are doing it wrong. I do not mean I am doing it any better, I have the same issues e.g. working on Android, but there are probably some fundamental things we could be doing to avoid all these horrible symptoms. Things like NixOS come to mind, where people are actively researching and exper…

Wouldnt the only solution to "see if you code worked with changing apis" to either

1) never change apis even if you were wrong or you have more opportunities or 2) know everything beforehand and implement the api perfect

Re: Show HN: Test your JavaScript modules simultaneously in 32 different versions of Node.js

#14
post #5

Frankly, I feel like this is an indictment of all software development, everywhere. When you need to do this kind of a thing, you are doing it wrong. I do not mean I am doing it any better, I have the same issues e.g. working on Android, but there are probably some fundamental things we could be doing to avoid all these horrible symptoms. Things like NixOS come to mind, where people are actively researching and exper…

That is exactly what I thought when I saw what had been posted. I have a feeling that we have a generation of developers whose work makes sense on a small scale or in the short term, but becomes ridiculous with growth and/or age.

Re: Show HN: Test your JavaScript modules simultaneously in 32 different versions of Node.js

#16

Dumb question, from someone who doesn't work with Node.js: Why are there 32 versions of it?

Even though Node isn't a framework (it's a cross-platform, runtime environment), it is used a base for application development. However, over time, things are changed and improved, but that breaks some of the API functionality upon which some existing applications are already built around. Since these applications still run fine with a previous version, they are not likely to be constantly updated to work with later versions. Therefore, previous versions are still offered to maintain compatibility with applications that have already been developed. However, if you're starting work on a new Node application, then you are better off using the latest version.

Re: Show HN: Test your JavaScript modules simultaneously in 32 different versions of Node.js

#17
post #5

Frankly, I feel like this is an indictment of all software development, everywhere. When you need to do this kind of a thing, you are doing it wrong. I do not mean I am doing it any better, I have the same issues e.g. working on Android, but there are probably some fundamental things we could be doing to avoid all these horrible symptoms. Things like NixOS come to mind, where people are actively researching and exper…

This tool is the solution. I don't think you're going to live in a static would anytime soon, where programming languages and packages do not change over time.

Re: Show HN: Test your JavaScript modules simultaneously in 32 different versions of Node.js

#18
post #3

This is a utility I build to be able to make sure my JS CLI's actually work across the version I want to support. Right now, the tool also works across any language where there is docker images with versions, not just for JavaScript/NodeJS. It's enough with having a Dockerfile with $VERSION (that will be replaced by the tool) and changing the test command. I will make this easier in the future. Thanks for taking a lo…

This is great! Nice work.

Re: Show HN: Test your JavaScript modules simultaneously in 32 different versions of Node.js

#20
post #19

Very nice project. I built something similar for PHP: https://github.com/vectorface/dunit

Oh, that's very nice. Thanks for sharing this here, always nice to see how different people implement the same thing basically :)
Post reply on HN