39 ms·
- iota - http://golang.org/doc/go_faq.html#exceptions - http://golang.org/doc/go_faq.html#generics
by aaronblohowiak 14y ago
- iota
- http://golang.org/doc/go_faq.html#exceptions
- http://golang.org/doc/go_faq.html#generics
- pjmlp 14y agoiota is a poor man's solution compared with what real enumerations are http://en.wikipedia.org/wiki/Enumerated_type http://en.wikipedia.org/wiki/Enumerated_type As for the other two links Go fanboys like to throw them around to feel happy that they beloved language is comparable to programming languages developed in the 70's.
- aaronblohowiak 14y agoIgnoring and being selective are different things. The golang designers have made intentional choices and the reasoning is provided in the links I sent. I am not a fanboy. IMHO, Go would have been MUCH more interesting if goroutines did not run in a shared address space and if they implemented generics (even as a hygenic macro..) The things that you left off your list that I think are much more interesting are: - Weak/Strong purity, enforced by the type system - uniqueness typing - chan is too special. The difficulty with implementing a good netchan interface is starting to show this.