News for hackers. Stuff that matters.
Re:Nim 2.0.0 RC2 by Nullabillity on Friday March 31, 2023 @09:11AM (#35386611)
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)

Re:Nim 2.0.0 RC2 by tokai on Friday March 31, 2023 @09:29AM (#35386852)
Natural 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.
Re:Nim 2.0.0 RC2 by Nullabillity on Friday March 31, 2023 @09:31AM (#35386881)
Nim itself, or the code bases written in Nim?
Re:Nim 2.0.0 RC2 by Tommstein on Friday March 31, 2023 @07:58PM (#35395434)
Nim forces you to use English identifiers?
Re:Nim 2.0.0 RC2 by netbioserror on Friday March 31, 2023 @09:15AM (#35386661)
These examples apply to a codebase...how?
Re:Nim 2.0.0 RC2 by konart on Friday March 31, 2023 @09:31AM (#35386896)
Method\variables naming?
Re:Nim 2.0.0 RC2 by fredrikholm on Friday March 31, 2023 @09:39AM (#35387003)
I'm a Swede working in Sweden and Norway, and I've never seen any code written in a Scandinavian language (thank god).
Re:Nim 2.0.0 RC2 by dieortin on Friday March 31, 2023 @12:04PM (#35389142)
Variables are usually named after things, so of course they apply to a codebase. How would they not apply?