4 ms·
Is there any documentation or discussion on the justification for doing this? I'm scratching my head and asking why anyone would do this intentionally...
by tavert 11y ago
Is there any documentation or discussion on the justification for doing this? I'm scratching my head and asking why anyone would do this intentionally...
- sunsetandlabrea 11y agoI don't use nim, so I couldn't point you to the justification. But as I understand it is so an individual can choose his style preferences. myVariable or my_variable.
- sunsetandlabrea 11y agohere: http://nim-lang.org/docs/manual.html#lexical-analysis-identifier-equality http://nim-lang.org/docs/manual.html#lexical-analysis-identi...
- progman 11y agoOne reason among others: http://blog.codinghorror.com/the-case-for-case-insensitivity/ http://blog.codinghorror.com/the-case-for-case-insensitivity...
- tavert 11y agoWay too ascii-centric. Getting case transformations right in the presence of unicode can be complicated.
- progman 11y agoUnicode in identifiers is ugly. I never use that.
- tavert 11y agoHelps make code look more like the algorithm it's implementing - would rather just use α than keep spelling out "alpha" every time. Good editors and REPLs make it easy to enter unicode symbols by tab-completing the latex spelling, e.g. \alpha<tab> gets replaced by α.