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

    • SinTan1729@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      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.

        • SinTan1729@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          9 months 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.