logoalt Hacker News

netbioserroryesterday at 4:30 PM1 replyview on HN

Yeah, immutability should probably use a `let` keyword and compiler analysis should enforce value semantics on those declarations.


Replies

phcreeryyesterday at 8:49 PM

Agreed, using `var` keyword for something that is non-var-ying (aka immutable) is not very intuitive.