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

  • themoken@startrek.website
    link
    fedilink
    arrow-up
    6
    ·
    2 days ago

    I agree, but I can envision scenarios where you are integrating into someone else’s workflow/machine and they (or their build system etc.) are expecting a shell script. Python is ubiquitous but sometimes you just want to work like everything else.

    • SinTan1729@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      8 hours ago

      Also useful for scripts to be executed inside containers. Alpine doesn’t have Python installed by default.