4 ms·
It would be one thing (but still a weird feature that calls the rest of their decision making into question) if it normalized fooBar into foo_bar (or the opposi
by Nullabillity 4y ago
It would be one thing (but still a weird feature that calls the rest of their decision making into question) if it normalized fooBar into foo_bar (or the opposite). But that's not what it actually does, it normalizes both into foobar, which introduces new ambiguities. In fact, you can often end up with the opposite meaning! For example, a few Swedish examples:
- hand tvättas (wash your hands) != handtvättas (wash by hand)
- sjuk gymnast (sick gymnast) != sjukgymnast (physical therapist)
- sjuk sköterska (sick nurse) != sjuksköterska (hospital nurse)
- lång hårig (tall and hairy) != långhårig (long-haired)
- sjö nära tomt (lake near a house) != sjönära tomt (house near a lake)
- netbioserror 4y agoThese examples apply to a codebase...how?
- konart 4y agoMethod\variables naming?
- fredrikholm 4y agoI'm a Swede working in Sweden and Norway, and I've never seen any code written in a Scandinavian language (thank god).
- dieortin 4y agoVariables are usually named after things, so of course they apply to a codebase. How would they not apply?
- tokai 4y agoNatural language compound words has no bearing on a discussion on Nim. It makes even less sense to use a language full of compound words like Swedish, when Nim is written in English - a language where compound words are less common and flexible.
- Nullabillity 4y agoNim itself, or the code bases written in Nim?
- Tommstein 4y agoNim forces you to use English identifiers?