syd@lemy.lol to Programming@programming.dev · 10 个月前Amber - the programming language compiled to Bashamber-lang.comexternal-linkmessage-square92fedilinkarrow-up1214arrow-down18file-textcross-posted to: programming@hexbear.nethackernews@lemmy.smeargle.fansprogramming@programming.dev
arrow-up1206arrow-down1external-linkAmber - the programming language compiled to Bashamber-lang.comsyd@lemy.lol to Programming@programming.dev · 10 个月前message-square92fedilinkfile-textcross-posted to: programming@hexbear.nethackernews@lemmy.smeargle.fansprogramming@programming.dev
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up4arrow-down2·10 个月前What are you talking about?
minus-squareAdamBomblinkfedilinkEnglisharrow-up2·10 个月前let 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·10 个月前About the let keyword, which is used to declare a variable.
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up3·10 个月前I thought so, but why do they object? Do they want Bash’s error-prone implicit variable declaration?
minus-squaremoreeni@lemm.eelinkfedilinkarrow-up3·10 个月前They, most probably, just didn’t like the name.
Removed by mod
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.