syd@lemy.lol to Programming · 6 months agoAmber - the programming language compiled to Bashamber-lang.comexternal-linkmessage-square92fedilinkarrow-up1214arrow-down18file-text
arrow-up1206arrow-down1external-linkAmber - the programming language compiled to Bashamber-lang.comsyd@lemy.lol to Programming · 6 months agomessage-square92fedilinkfile-text
minus-squareAdamBomb@lemmy.sdf.orglinkfedilinkEnglisharrow-up2·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-up2·6 months agoAbout the let keyword, which is used to declare a variable.
minus-squareFizzyOrangelinkfedilinkarrow-up3·6 months agoI thought so, but why do they object? Do they want Bash’s error-prone implicit variable declaration?
minus-squaremoreeni@lemm.eelinkfedilinkarrow-up3·6 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.