Re: Attributes
"'Vadim' via lua-l" <[email protected]> Thu, 28 May 2026 08:27:05 +0000
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
> practical purpose. I don't see <const> as that because I feel the standard SNAKE_CASE is sufficient enough The const keyword is an unambiguous directive for the compiler (or runtime VM) in 'your' dynamically typed language. The fact it serves as a hint for the programmer reading code, is a side-effect of the above and not its primary purpose. Making SNAKE_CASE semantically significant, instead of using a keyword, would be an entertaining case study in language ergonomics. Cheers, Vadim -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/E69781C0-6BF5-4405-ABD8-11D9CD94F565%40vad.cx.