syd@lemy.lol to Programming@programming.dev · 7 months agoAmber - the programming language compiled to Bashamber-lang.comexternal-linkmessage-square92fedilinkarrow-up1214arrow-down18file-textcross-posted to: [email protected]
arrow-up1206arrow-down1external-linkAmber - the programming language compiled to Bashamber-lang.comsyd@lemy.lol to Programming@programming.dev · 7 months agomessage-square92fedilinkfile-textcross-posted to: [email protected]
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up4arrow-down2·7 months agoWhat are you talking about?
minus-squareAdamBomb@lemmy.sdf.orglinkfedilinkEnglisharrow-up2·7 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-up2·7 months agoAbout the let keyword, which is used to declare a variable.
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up3·7 months agoI thought so, but why do they object? Do they want Bash’s error-prone implicit variable declaration?
minus-squaremoreeni@lemm.eelinkfedilinkarrow-up3·7 months agoThey, most probably, just didn’t like the name.
What are you talking about?
Removed by mod
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.