The Bard's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Otter@lemmy.ca to Programming@programming.devEnglish · 2 years ago

Amber - the programming language compiled to Bash

amber-lang.com

external-link
message-square
13
link
fedilink
65
external-link

Amber - the programming language compiled to Bash

amber-lang.com

Otter@lemmy.ca to Programming@programming.devEnglish · 2 years ago
message-square
13
link
fedilink
Amber The Programming Language
amber-lang.com
external-link
Amber The Programming Language
alert-triangle
You must log in or # to comment.
  • einlander@lemmy.world
    link
    fedilink
    arrow-up
    32
    ·
    2 years ago

    Whoa Black Betty, Amber-Lang.

  • VubDapple@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    2 years ago

    Why?

    • Otter@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      21
      ·
      2 years ago

      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.

      • VubDapple@lemmy.world
        link
        fedilink
        arrow-up
        8
        arrow-down
        2
        ·
        2 years ago

        Ok, I guess that makes sense. Bash is a pretty old school language for those raised in the functional programming era

      • The Bard in GreenA
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        So if you’re already pretty good at bash would you bother to switch and learn this?

  • deathmetal27@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    2 years ago

    So basically the TypeScript of bash.

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Was posted a few hours before and has many comments: https://beehaw.org/post/13943043

  • Unpigged@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    There’s babashka, why?

    • MachineFab812@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      We need a way to watch for replies to comments without commenting ourselves… (not an answer to your question, sorry)

      • Unpigged@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        I mean, my comment isn’t really meaningful either so, touche, Internet stranger.

        • MachineFab812@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          No, I meant I was following your comment, as I am interested in the answer to your question.

  • aluminium@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    I mean if you want a shell language that behaves more like a regular programming language, PowerShell core is a thing.

  • smileyhead@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    When JavaScript developer starts writing a Linux script.

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 86 users / day
  • 559 users / week
  • 1.75K users / month
  • 4.15K users / 6 months
  • 2 local subscribers
  • 24.7K subscribers
  • 2.2K Posts
  • 18.8K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • UlrikHD@programming.dev
  • BE: 0.19.14
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org