thepracticaldev ,
@thepracticaldev@fosstodon.org avatar

Bash is a terrible programming language, but what's the alternative ?

What's your favorite non-Bash language for your scripts?


https://dev.to/jmfayard/bash-is-a-terrible-programming-language-but-whats-the-alternative--oc2

meuon ,
@meuon@fosstodon.org avatar

@thepracticaldev Perl.

Bash is a SHELL and isn't necessarily a programming language but can be pretty good. PERL was essentially created for system admin / automation and reporting. It is awesome at parsing log files and other sources, hence the nickname: Perfectly Eclectic Rubbish Lister

And don't laugh, but I do a lot of scripting (non web) work in PHP as well.

ramsey ,
@ramsey@phpc.social avatar

@meuon @thepracticaldev I love Bash. Why are we bashing on Bash? Does @thepracticaldev support language-bashing, now?

Bash scripting, in fact, is not a terrible programming language.

ramsey ,
@ramsey@phpc.social avatar

@meuon @thepracticaldev I just practically did a full rewrite of this, and it’s all in Bash, and it has unit tests, and everything. https://github.com/ramsey/asdf-php

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines