4 ms·
one of the strangest and most grep-hostile approaches to identifiers that I have ever observed is Nim ignoring both case and underscores in an effort to allow e
by RodgerTheGreat 2y ago
one of the strangest and most grep-hostile approaches to identifiers that I have ever observed is Nim ignoring both case and underscores in an effort to allow everyone to write code in their preferred style:
https://nim-lang.org/docs/manual.html#partial-caseminusinsensitivity_1 https://nim-lang.org/docs/manual.html#partial-caseminusinsen...
- uasi 2y agoNim even provides a dedicated grep-like tool to search for identifiers regardless of the style https://nim-lang.org/docs/nimgrep.html https://nim-lang.org/docs/nimgrep.html
- planetis 2y agoAnd it works pretty well, coming from 6+ years of experience. It's not that strange if consider case insensitive filesystems and email addresses. But on the internet you only hear the opinion of the loudest minority.