4 ms·
Yep, writing non english keywords in C++ is like having prolog code inside c++ :-) (but as a non english person, I find it very helpful to be able to have unic
by wiz21c 7y ago
Yep, writing non english keywords in C++ is like having prolog code inside c++ :-)
(but as a non english person, I find it very helpful to be able to have unicode in strings)
- q92z8oeif 7y agothat's fine, keep using english. But do not expect people that do not speak english to learn it if there's an alternative. Someday we might have multilingual frameworks and not restrict programming to the privileged few that could learn a second language. Entitled programers are so into their broculture they can't see their own problems as being socially constructed. On one hand they complain "reading mixed language code is hard, despite me being fluent on both! everyone should speak what is more convenient to me!" without realizing they are leaving billions of people that do not know english out. Then on this very same thread they also complain that "reading math with greek letters is too hard" despite that being an arbitrary rule set in place by the people that used greek and latin knowledge as a way to make their privilege less accessible. The irony is dense! ...don't even get me started on a programmer workers union.
- aspaceman 7y agoI really disagree with the idea that math uses greek letters just to make things less accessible. If you have a better symbol than the large S for an integral, or Sigma for sums, I'd love to hear it.
- wtallis 7y agoPeople who complain about math notation and want something more verbose like programming usually don't fully understand the notation they're complaining about. In particular, there are fairly strong conventions for which letters get used for which purposes. Longer variable names that try to be more descriptive often aren't as necessary as they might seem, and in many cases would make an expression less generic than it really is. And then there's the fact that what's easy to type on a standard keyboard without a specialized IME has little bearing on what notation is most effective for the reader, or for someone writing on paper or blackboard.
- staticassertion 7y agoIt would be cool if more papers had a glossary for the symbols they use, though. If you're going to use a bunch of single character symbols, at least put somewhere what they are.
- gumby 7y agoThe abstract and introduction to a math paper usually does so, though sometimes they slip up and in then in the middle of the paper you find some strange symbol and have to manually binary search for it.
- slavik81 7y agoI wish I could click on a symbol in an equation and have it either pop up a full name / definition for standard symbols, or scroll to where the variable was defined for paper-specific symbols. When studying papers, I spend way too much time trying to answer questions like, "what was 'n' again?"
- gumby 7y agoI usually write notes as I read anyway — not just marginalia but typically on the back of the first page or in my notebook. Back of the first page is an excellent place for things like that.
- asjw 7y agoI believe that Archimedes used Greek because it was the only language he knew...
- alufers 7y ago> Someday we might have multilingual frameworks and not restrict programming to the privileged few that could learn a second language. I seriously doubt it, English is really easy to learn (sure the pronunciation is weird, but who needs it when you are writing code), and by learning English you can understand all the code with identifiers in English, written not only by native-speakers. Additionally, I wouldn't want a person who couldn't be bothered to learn a natural language to be a programmer in my company (if it was based in a non-English speaking country, of course). > "reading mixed language code is hard, despite me being fluent on both! everyone should speak what is more convenient to me!" > leaving billions of people that do not know english out. How is writing bilingual code including more people? You are limiting the total amount of people who speak English to the subset of people who know both the language.