@[email protected] to Programming • 1 month agoAmber - the programming language compiled to Bashamber-lang.comexternal-linkmessage-square94fedilinkarrow-up1213arrow-down18file-textcross-posted to: programming
arrow-up1205arrow-down1external-linkAmber - the programming language compiled to Bashamber-lang.com@[email protected] to Programming • 1 month agomessage-square94fedilinkfile-textcross-posted to: programming
minus-square@[email protected]linkfedilinkEnglish2•1 month 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]linkfedilink2•1 month agoAbout the let keyword, which is used to declare a variable.
minus-square@FizzyOrangelink3•1 month agoI thought so, but why do they object? Do they want Bash’s error-prone implicit variable declaration?
minus-square@[email protected]linkfedilink3•1 month 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.