Borrowing from some of my words from the last pitch:
I believe what many of us are saying isn't that we want longer keywords, but keywords that disambiguate from existing usage. The difference between the pitched feature and
let
is not the constant-ness, but the compile-time known-ness of the constant-ness. This is why keywords likecompileTime
andpredefined
are suggested as alternatives. If they are too long, then they can be trimmed shorter, but whether they're in long or short forms, they're more clear thanconst
.And here is a counter-example:
def
is todefine
asconst
is toconstant
. Althoughdef
is shorter thanfunction
(andfunc
), just asconst
is shorter thancompileTime
, it shouldn't be a more pragmatic choice thanfunction
is, because it doesn't disambiguate from other declaration keywords.