This is hilarious. A #Google engineer invented #zx to make command line scripting easier with #NodeJS, because at a certain point #shell scripts get too complicated and you need a Real #Programming Language.

github.com/google/zx/

This is exactly #Perl’s use case from thirty-six years ago. But the kids want #JavaScript everywhere and would rather it take more work to convert their ascended #Bash scripts to a vastly different syntax.

github.com/google/zx/issues/58

#Unix #Linux #ProgrammingLanguages

Follow

@mjgardner In my Unix sysadmin handbook from about 15yrs ago, they make a big point about shell scripts beyond 50 lines really need to become Perl or Python. I am by no means a programmer but I tend to use that as a yardstick. I've seen a *tonne* of horrendous shell scripts that could use the lesson though.

· · Web · 2 · 3 · 2

@sullybiker Yep. And I just found out that this isn’t even the first time the #JavaScript kiddies have done this.

github.com/shelljs/shelljs

#ShellJS is a portable implementation of #Unix #shell commands on top of the #NodeJS API […] say goodbye to those gnarly #Bash scripts!”

Of course, #PerlPowerTools also exists if you want Unix commands that work the same everywhere. It has exactly four non-core #CPAN dependencies.

perlpowertools.com

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!