5 ms·
The main problem is people afraid about Style Insensitivity it enables by default .
by v3ss0n 4y ago
The main problem is people afraid about Style Insensitivity it enables by default .
- elcritch 4y agoIts set to produce a compiler "Warning" by default now.
- frigid 4y ago(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.
- girvo 4y agoWhich as an aside, makes writing and using C bindings so lovely.
- j-james 4y agoWell, 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. https://github.com/nim-lang/RFCs/issues/477 https://github.com/nim-lang/RFCs/issues/477