this post was submitted on 02 Dec 2025
83 points (100.0% liked)

Linux

10441 readers
425 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

My primary use case for Amber is when I need to write a Bash script but don't remember the silly syntax. My most recent Bash mistake was misusing test -n and test -z. In Amber, I can just use something == "" or len(something) == 0

you are viewing a single comment's thread
view the rest of the comments
[–] SinTan1729@programming.dev 1 points 2 days ago* (last edited 2 days ago) (1 children)

Been there, done that lol. Nowadays, if I think that some script is getting too long, I just rewrite it in Go. It's faster to write than Rust (in fact, I find it almost as easy as Python), and performant enough for replacing scripts.

[–] chris104@mastodon.social 0 points 2 days ago (1 children)

@SinTan1729 @sga I've been toying with the idea of learning Go. I currently tinker in python and bash scripts. Is Go worth my time learning?

[–] SinTan1729@programming.dev 1 points 2 days ago* (last edited 2 days ago)

Oh, definitely. Its syntax is so simple, you can basically learn the basics over an afternoon. Outside of applications where consistent low latency is critical, if I can spare some extra RAM and CPU, I prefer Go to Rust.