3 ms·
> It seems like the most counter-intuitive tool for the job. How so? What exactly do you think is more difficult about this in node than in other languages or
by udp 9y ago
> It seems like the most counter-intuitive tool for the job.
How so? What exactly do you think is more difficult about this in node than in other languages or frameworks? Is there something you would recommend as a better alternative?
As much as I like developing in C for fun, it's not a good pragmatic choice (unsafe, verbose, you don't need direct memory access to build an application like this one). Nor is bash, unless you think archaic syntax, primitive control flow, and a lack of modern language features are good things. If you'd suggest something like Python, it's basically exactly the same as node in terms of how high level it is, but (anecdotally) the package ecosystem is much richer in node and npm is easier to use than pip.
It's almost like people think because JavaScript started in browsers it should stay there and any other use case is somehow wrong or a hack. But ECMAScript is an open scripting language standard and has absolutely nothing to do with the DOM, or alert()s, or onclicks.
I write a lot of Java and C++ for pragmatic, work-related reasons, but if I need to write a command line application quickly I'll always come back to node. It's just so damn fast to develop with, and nearly everything I need is one npm install away.
- tomc1985 9y agoBut perl, python, ruby, and even bash have filled that role for years. I'm also chiming in with a small amount of disgust at seeing nodejs in play, though at least this isn't an electron project.
- udp 9y ago> disgust at seeing nodejs in play Do you know much about Hacker News? Justify your opinion or don't bring it here.
- deleted 9y ago[deleted]