Maybe the example doesn't do justice but it looks more complicated than simply using "&" and "wait".
ZX – A tool for writing better scripts
11–20 of 143 posts
Re: ZX – A tool for writing better scripts
#12This looks really cool, actually, and I'm surprised I haven't heard of this before. My incorrect gut intuition is that JavaScript devs usually don't do very much in depth terminal level command work, but that's of course false on a Bayesian level. There are far more JavaScript developers in the world than there are even Python developers, to say nothing of the long tail of even less popular languages. If 30% of JS de…
Re: ZX – A tool for writing better scripts
#13I'll be honest, I did not pass the word Javascript. And I don't think I could be convinced to. Didn't expect people to be so hurt by the truth. Sorry. I just don't trust JS running on my machines.
Re: ZX – A tool for writing better scripts
#14Please don’t make me install Node.js to run your shell script.
Re: ZX – A tool for writing better scripts
#15Please don’t make me install Node.js to run your shell script.
But:
This feels to me like it might be a really useful tool to do systems-integration work around an app that is built in Node.js. For example, to integrate with incrond or cron, or get a supervisor task into JS. The smallest sensible "shell-ish" wrapper that gets you access to your codebase in JS and stops the coding effort being divided so much between technologies.
Re: ZX – A tool for writing better scripts
#16Is there a rainbow bar over the bottom right corner?
Do words appear when you press each key?
Re: ZX – A tool for writing better scripts
#17Not sold on that. Why should I choose it over Python, PHP or others?
Re: ZX – A tool for writing better scripts
#18This looks really cool, actually, and I'm surprised I haven't heard of this before. My incorrect gut intuition is that JavaScript devs usually don't do very much in depth terminal level command work, but that's of course false on a Bayesian level. There are far more JavaScript developers in the world than there are even Python developers, to say nothing of the long tail of even less popular languages. If 30% of JS de…
I don’t think that’s true. Anecdotally when I was interviewing at a recruiting company (and we let candidates pick any language to be assessed in), Python was by far the most popular choice, chosen by about 60% of candidates or something like that. Java and JavaScript came after, followed by a long tail of languages like C# and go.
I assumed JavaScript would be the most popular too - but that didn't seem to be the case. I have no idea where the demand for all this Python programming is coming from, but it seems Python programmers are everywhere. Maybe it’s just popular in schools.
Re: ZX – A tool for writing better scripts
#19"[For writing complex scripts] JavaScript is a perfect choice". Not sold on that. Why should I choose it over Python, PHP or others?
Re: ZX – A tool for writing better scripts
#20* I love the idea, and I'm interested to see more progress in this direction.
* I'm not a huge fan of the syntax - for me, the commands are the star of the show, while the async/await is a glue. This syntax emphasizes the async/await while the important stuff get shuffled into quotes.
* Don't make me install node - and especially not system/user-wide packages - to run a script.
Having said all that, this is a neat idea and a cool hack on top of javascript language features.