As a Roblox developer, it is currently annoying to have constants exist in your code without guaranteeing them as true constants. This is desirable because it adds some amount of security to code while writing it as well as potentially improving intellisense (a language server or Studio’s analysis could throw an error if a constant variable was overwritten, which is desirable behavior).
Normally I would be hesitant to suggest a keyword be added since the answer is almost always “no”, but with the recent addition of
continue as a context sensitive keyword, I feel comfortable suggesting keywords that can be context specific – such as
const. In all cases,
const variableName will currently produce a syntax error. Thus, it can simply be changed to create a constant and it won’t break any existing code.