Example
- Typed variables are either declared explicitly or inferred
- Assignment is
=
- Both multiple declaration and assignment
- Numeric initialize default to zero
:=
→ declaration of, inference and assignment to
=
:=
→ declaration of, inference and assignment to,
format for joining values is nice.ID: org_gcr_2017-08-08_mara:33B2158C-BC69-4D0B-9853-C0284A0EC605
Go has first class Unicode support. What do upper-case and lower-case mean when there is no such thing for the character? Does it fail with an error or not? How do you compare the size or length of Unicode characters?
fmt.Println("? Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo ")
? Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
Go by Example is Mark McGranaghan‘s “hands-on introduction to Go using annotated example programs”. Under the license I’m going to
ID: org_gcr_2017-08-08_mara:C327B697-D6B7-42BA-B0D3-0C8613CBB58E
Continue reading “(Go Lang) Go by Example Notes (GBEN) Emacs Setup”
Glad to know that Go has a Planet feed.
Why Go is a good programming language to learn talks about how Go has the library support and programming conveniences of Python with the speed of C.
Go is a very enticing language. Not having taken more than a light jump into it, it has all the brevity of what I remember as a student learning C combined with the modern library support of Python today. Wanting to find the Go equivalent of The Java Developers Almanac, I ended up at socketloop.com. It has short and sweet articles, just like the language, and just like the author.