@[email protected] to [email protected] • 6 months agoAmber - the programming language compiled to Bashamber-lang.comexternal-linkmessage-square92fedilinkarrow-up11arrow-down10file-textcross-posted to: linuxhackernews[email protected]programming
arrow-up11arrow-down1external-linkAmber - the programming language compiled to Bashamber-lang.com@[email protected] to [email protected] • 6 months agomessage-square92fedilinkfile-textcross-posted to: linuxhackernews[email protected]programming
minus-square@[email protected]linkfedilinkEnglish0•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-square@[email protected]linkfedilink0•6 months agoAbout the let keyword, which is used to declare a variable.
minus-square@[email protected]linkfedilink0•6 months agoI thought so, but why do they object? Do they want Bash’s error-prone implicit variable declaration?
minus-square@[email protected]linkfedilink0•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.