syd@lemy.lol to Programming@programming.dev · 3 months agoAmber - the programming language compiled to Bashamber-lang.comexternal-linkmessage-square94fedilinkarrow-up1213arrow-down18file-textcross-posted to: [email protected][email protected]
arrow-up1205arrow-down1external-linkAmber - the programming language compiled to Bashamber-lang.comsyd@lemy.lol to Programming@programming.dev · 3 months agomessage-square94fedilinkfile-textcross-posted to: [email protected][email protected]
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up4arrow-down2·3 months agoWhat are you talking about?
minus-squareLinkerbaan@lemmy.worldlinkfedilinkarrow-up9arrow-down2·3 months agoThe Javascript style syntax
minus-squareAdamBomb@lemmy.sdf.orglinkfedilinkEnglisharrow-up2·3 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·3 months agoAbout the let keyword, which is used to declare a variable.
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up3·3 months agoI thought so, but why do they object? Do they want Bash’s error-prone implicit variable declaration?
minus-squaremoreeni@lemm.eelinkfedilinkarrow-up3·3 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.