4 ms·
It does sound like stereotyping. It also sounds very hostile to new ideas. You're essentially telling "javascript developers" to get off of your lawn. I do act
by Smudge 11y ago
It does sound like stereotyping. It also sounds very hostile to new ideas. You're essentially telling "javascript developers" to get off of your lawn.
I do actually agree with your point about compliance. It would be really cool if we had a POSIX-conformant set of shell commands written purely in JS, as an alternative to having to find and install compiled binary ports that run on our particular non-Unix systems. At least, it's an interesting idea.
Instead whenever something like this comes up, we see a bunch of grumpy systems programmers waving their fists in the air, as if C is the only language powerful enough to manipulate basic strings in the shell. Seems a bit silly to me when you think about it.
- newjersey 11y agoSorry, I actually despise C. When all is said and done, Javascript is not a horrible language but Javascript developers have a horrible track record. I know it sounds like saying ($my_country is good but foreach $person in $my_country->people are bad. However, why do we need to write shell commands in java script? I keep hearing about this new fancy systems language called rust which should be good enough for most projects. Why do we insist on using the same one language everywhere?
- moron4hire 11y agoWhat exactly are you imagining is happening? People just want to use the languages they're familiar with. It does not harm you in any way. You're not going to be forced to start using JS in Bash. "Why do we insist on using the same one language everywhere?" Who is this "we" you're talking about? Where is this "insistence"? It's not like there is some cabal out there that is organizing a campaign to rewrite everything in JS and also delete everything else. What does it matter to you that people started a new project, that re-implements functionality of a dear, favorite project of yours, without taking resources away from that dear, favorite project? These people, who are only wasting their own time, who would have never worked on your dear, beloved project anyway? If you don't want to use JS, just don't. Stop reading posts about JS.
- voltagex_ 11y agohttps://github.com/uutils/coreutils https://github.com/uutils/coreutils - in Rust. https://github.com/aisola/go-coreutils https://github.com/aisola/go-coreutils - in Go. https://github.com/search?l=Nimrod&q=coreutils&type=Repositories&utf8=%E2%9C%93 https://github.com/search?l=Nimrod&q=coreutils&type=Reposito... - in Nim (didn't seem to take off) You know how people write a to-do list, or a forum, or a blog to better learn a language? Some people write coreutils.
- stevekemp 11y agoI was loosely involved in a project to reimplement all the Unix commands in Perl back around ~2000 or so. Things seem to live on here: https://metacpan.org/pod/PerlPowerTools https://metacpan.org/pod/PerlPowerTools
- Shog9 11y agoWhat are you afraid will happen? That a JavaScript developer will get lazy and store function definitions in some globally-writable place, allowing untrusted logic to be injected into systems via some embarrassingly accessible route? Because, yeah, that would be an awful thing to happen to shell utils.