Re:What's inside Google's new Go app for iOS and Android
by Sphax on Monday July 13, 2015 @11:59AM
(#9878924)
Where did you get the idea that Go's syntax is inspired by Python ? I don't think I ever saw that claim before.
Re:What's inside Google's new Go app for iOS and Android
by NateLawson on Monday July 13, 2015 @12:09PM
(#9878984)
Array slices, godoc/pydoc, syntax relevance (export names by TitleCasing them), lack of semi-colons, etc. There's even a guide about it.
https://golang-for-python-programmers.readthedocs.org/en/lat...
It's not so much that the syntax was derived from Python (because it's not) as that the language was clearly informed by the authors' experience working commercially with Python, Java, and C projects.
As a fun exercise, we looked into Google’s recent moves with Go 1.5 pre-release, which can compile apps for iOS and Android. They just published their first app (a calculator) on the app stores and we looked inside to see if there was anything too surprising. The apps are mostly Go, with a thin platform-specific UI and event layer but this does raise some questions about Google’s long-term mobile strategy.
Previous discussion about the app, including comments by one of the developers:
https://news.ycombinator.com/item?id=9875886
Let me know here if you have other questions. Is Google going after the cross-platform tools market? Is this the future of the Android SDK? Or is it just a curiosity?