> Dave Cheney pointed out on Reddit that he is under the impression that Go is popular in China for its usefulness in writing programs for rooted Android phones. Interesting. It seems Go really is preferred to Java, if given the choice. I hope Google seriously considers making Go the main programming language for Android in the next few years. Other than having to rewrite all the old and new APIs (in parallel with th…
Why is Golang popular in China?
61–70 of 114 posts
Re: Why is Golang popular in China?
#62Could it be because golang supports unicode identifiers? For non-native English speakers, it must be more difficult to program in ASCII-based languages, right?
Certainly not for that reason. Actually, as a non-native English speaker, I consider unicode identifiers one of the most useless features for a language. There are reasons why unicode identifiers have never been widely used, and probably will never be, even though they've been around for more than a decade: 1. You're unlikely to be allowed to use them. Unicode identifiers stagger international collaboration. Do you w…
Re: Why is Golang popular in China?
#63Earlier quoted context omitted.
Certainly not for that reason. Actually, as a non-native English speaker, I consider unicode identifiers one of the most useless features for a language. There are reasons why unicode identifiers have never been widely used, and probably will never be, even though they've been around for more than a decade: 1. You're unlikely to be allowed to use them. Unicode identifiers stagger international collaboration. Do you w…
I agree, but I think we live in an idealist bubble on Hacker News. Some of my freelancing clients maintain a bit of (Unicode free) English-German code. What would you do if you had to write one of the gazillion business software systems we never see here on HN, and you had to codify boring terms like Boolean rightToGiveExtraordinaryNoticeOfTermination (in any other language)? The client/superior has not provided you…
The feeling was very much that this was political far more than an aid to the programmers, although of course that was the English-speakers perspective! But it did make working with the code (which was a mess anyway) far more complicated.
Re: Why is Golang popular in China?
#64Earlier quoted context omitted.
Almost every non-trivial programming language released after 2000 supports unicode identifiers[0]. Rust, Python, Ruby, C#, Scala, Clojure, just to name a few, all support unicode identifiers. [0] http://rosettacode.org/wiki/Unicode_variable_names
And older ones such as Java, released in 1995.
Re: Why is Golang popular in China?
#65Whoa wait a second, I feel like this is burying the lead: you can write native android apps in go [1]. I feel like that's a very big deal, especially for game companies wanting native speed, and a 'modern' language and toolkit. [1] E.g. http://talks.golang.org/2014/gothamgo-android.slide#1
Re: Why is Golang popular in China?
#66Re: Why is Golang popular in China?
#67Earlier quoted context omitted.
Certainly not for that reason. Actually, as a non-native English speaker, I consider unicode identifiers one of the most useless features for a language. There are reasons why unicode identifiers have never been widely used, and probably will never be, even though they've been around for more than a decade: 1. You're unlikely to be allowed to use them. Unicode identifiers stagger international collaboration. Do you w…
I agree, but I think we live in an idealist bubble on Hacker News. Some of my freelancing clients maintain a bit of (Unicode free) English-German code. What would you do if you had to write one of the gazillion business software systems we never see here on HN, and you had to codify boring terms like Boolean rightToGiveExtraordinaryNoticeOfTermination (in any other language)? The client/superior has not provided you…
For example, if you do Japanese entrance exams, there exist two ways to say "academic subject": 教科 and 科目. Both of them are most readily translated as "subject", but the first is subject like mathematics is a subject, and the second is a subject like Algebra II is a subject. Make sense? Great.
Rather than littering our code with getSubject and getSubSubject, which was the cleanest English option available, we just went with the transliterations straight in the source code, and said "Look, if we pay your salary, you're going to learn the difference between kamoku and kyouka."
Re: Why is Golang popular in China?
#68Could it be because golang supports unicode identifiers? For non-native English speakers, it must be more difficult to program in ASCII-based languages, right?
Certainly not for that reason. Actually, as a non-native English speaker, I consider unicode identifiers one of the most useless features for a language. There are reasons why unicode identifiers have never been widely used, and probably will never be, even though they've been around for more than a decade: 1. You're unlikely to be allowed to use them. Unicode identifiers stagger international collaboration. Do you w…
Re: Why is Golang popular in China?
#69Whoa wait a second, I feel like this is burying the lead: you can write native android apps in go [1]. I feel like that's a very big deal, especially for game companies wanting native speed, and a 'modern' language and toolkit. [1] E.g. http://talks.golang.org/2014/gothamgo-android.slide#1
Thought it might interest you that the term is "burying the lede". One of those weird terms like "champing at the bit" or "eke out a living" that uses a word that sounds like a modern English word but is actually a slightly arcane word. In this case lede is "the introductory section of a news story that is intended to entice the reader to read the full story".
What's the "modern" term in "eke out a living"?
Re: Why is Golang popular in China?
#70Earlier quoted context omitted.
Thought it might interest you that the term is "burying the lede". One of those weird terms like "champing at the bit" or "eke out a living" that uses a word that sounds like a modern English word but is actually a slightly arcane word. In this case lede is "the introductory section of a news story that is intended to entice the reader to read the full story".
Now I'm curious. I've got 'lede' -> 'lead' and 'champing' -> 'chomping'. What's the "modern" term in "eke out a living"?