syd@lemy.lol to Programming@programming.dev · 6 months agoAmber - the programming language compiled to Bashamber-lang.comexternal-linkmessage-square92fedilinkarrow-up11arrow-down10file-textcross-posted to: programming@programming.dev
arrow-up11arrow-down1external-linkAmber - the programming language compiled to Bashamber-lang.comsyd@lemy.lol to Programming@programming.dev · 6 months agomessage-square92fedilinkfile-textcross-posted to: programming@programming.dev
minus-squareAdamBomb@lemmy.sdf.orglinkfedilinkEnglisharrow-up0·6 months agolet is also used to declare values in better languages than JavaScript, such as Haskell and ML family languages like OCaml and F#
minus-squaremoreeni@lemm.eelinkfedilinkarrow-up0·6 months agoAbout the let keyword, which is used to declare a variable.
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up0·6 months agoI thought so, but why do they object? Do they want Bash’s error-prone implicit variable declaration?
minus-squaremoreeni@lemm.eelinkfedilinkarrow-up0·6 months agoThey, most probably, just didn’t like the name.
What are you talking about?
The Javascript style syntax
let
is also used to declare values in better languages than JavaScript, such as Haskell and ML family languages like OCaml and F#About the
let
keyword, which is used to declare a variable.I thought so, but why do they object? Do they want Bash’s error-prone implicit variable declaration?
They, most probably, just didn’t like the name.