- cross-posted to:
- programming@programming.dev
- cross-posted to:
- programming@programming.dev
Whoa Black Betty, Amber-Lang.
Why?
I think it’s to make it easier to write bash scripts, for those who are new or when the script is doing a more critical task
Modern Syntax
You will find many of the language features familiar, allowing you to get up and running much faster than if you were learning Bash from scratch.
Runtime Safety
It’s one of the key components missing from regular shell scripts. It can help you catch many bugs at compile time.
Type Safety
Amber ensures that you handle everything that could fail. Each Bash command and function that could fail must be handled in some way.
Ok, I guess that makes sense. Bash is a pretty old school language for those raised in the functional programming era
So basically the TypeScript of bash.
Don’t like it one bit
If bash is hard to program, get away with it, not build atop of it.
I like the concept…
okay but the author has to write it, why not write something useful open source?
For fun or to play around with transpilers?
Was posted a few hours before and has many comments: https://beehaw.org/post/13943043
There’s babashka, why?
We need a way to watch for replies to comments without commenting ourselves… (not an answer to your question, sorry)
I mean, my comment isn’t really meaningful either so, touche, Internet stranger.
No, I meant I was following your comment, as I am interested in the answer to your question.
When JavaScript developer starts writing a Linux script.
I mean if you want a shell language that behaves more like a regular programming language, PowerShell core is a thing.