Re:Nim 2.0.0 RC2
by elcritch on Friday March 31, 2023 @01:25PM
(#35390187)
Its set to produce a compiler "Warning" by default now.
[ Parent
| on HN ]
(for inconsistent usage)
As background, style insensitivity was introduced so that codebases can use a consistent camelCase or snake_case regardless of the style used by upstream libraries.
Which as an aside, makes writing and using C bindings so lovely.
Well, maybe not writing. Occasionally low-level C libraries - especially those that deal with keyboard input - decide to provide identifiers differing only in case... There's a WIP RFC for providing a way to deal with identifiers that need to be verbatium by surrounding them with backticks, though.