Go: Difference between revisions
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
* The simplest possible program (<tt>var a:=1; a = a + 1</tt>) is 1065952 bytes long. Why? What does it contain? | * The simplest possible program (<tt>var a:=1; a = a + 1</tt>) is 1065952 bytes long. Why? What does it contain? | ||
* It is not immediately obvious what interface is implemented by a certain type. In order to make the correlation we need to scan the list of methods associated with the type and know those methods (or a subset of those methods) are in the method set of a certain interface. | * It is not immediately obvious what interface is implemented by a certain type. In order to make the correlation we need to scan the list of methods associated with the type and know those methods (or a subset of those methods) are in the method set of a certain interface. | ||
* How to quickly (and idiomatically) assemble primitive in strings to be reported at stdout? In Java I used implicit conversion to String and + operator. When I find out write a [[Go Recipes|recipe]]. | |||
</font> | </font> |
Revision as of 19:39, 31 March 2016
External
- https://golang.org
- Language specification https://golang.org/ref/spec
- http://www.infoq.com/presentations/go-iron-production
- http://tour.golang.org/welcome/1
- Go for Java Programmers https://www.youtube.com/watch?v=_c_tQ6_3cCg
- Build Web Application with Golang https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/index.html
Overview
Go is a general-purpose language designed for systems programming. It is strongly typed ... (for more details go to Go Concepts).
Subjects
Questions
- The simplest possible program (var a:=1; a = a + 1) is 1065952 bytes long. Why? What does it contain?
- It is not immediately obvious what interface is implemented by a certain type. In order to make the correlation we need to scan the list of methods associated with the type and know those methods (or a subset of those methods) are in the method set of a certain interface.
- How to quickly (and idiomatically) assemble primitive in strings to be reported at stdout? In Java I used implicit conversion to String and + operator. When I find out write a recipe.