3 ms·
The people being excited by a language have nothing to do with what the language is like. I see Go as a C-like language with some of the annoyances cut out and
by jamra 13y ago
The people being excited by a language have nothing to do with what the language is like.
I see Go as a C-like language with some of the annoyances cut out and a garbage collector added. You don't have pointer arithmetic, but you still have pointers.
When you look at it that way, the lack of generics is not so annoying.
The best part of Go is the fact that it forces error checking.
- azth 13y ago> The best part of Go is the fact that it forces error checking. Except that it doesn't. Otherwise you would be forced to check the return type of fmt.Printf() and gang.
- jamra 13y agoOk. So idiomatic go returns multiple values with an intention to return an error type. I guess fmt.Printf() is an exception. For the most part, it does as well as C does.
- azth 13y ago> For the most part, it does as well as C does. Which isn't saying much really :) There is absolutely no way to force you to handle errors in Go.
- stcredzero 13y ago>> > The best part of Go is the fact that it forces error checking. > Except that it doesn't. Depending on the value of "forces" used. Maybe "forces" in the sense of "only viable option for someone not programming foolishly."