Re:Show HN: Imba – I have spent 7 years creating a programmi...
by nsonha on Tuesday August 17, 2021 @10:35AM
(#28210300)
if we want to nitpick I hate the fact that many dynamic languages need keywords to express very little information.
If js was made with types then the syntax `any x` (yeah lose the colon too, who gives a shit) is suficient to express that x is a variable, then `number x` could mean variable of type number, and `const number x` could mean constant of type number.
If js was made with types then the syntax `any x` (yeah lose the colon too, who gives a shit) is suficient to express that x is a variable, then `number x` could mean variable of type number, and `const number x` could mean constant of type number.