Re:Learn Go: Hand-crafted Go exercises and examples
by sytelus on Sunday May 17, 2020 @01:36AM
(#23209826)
I'd read some post where Go designers boasted about how they simplified compiler code by cutting down a language feature. It seemed to me they were obsessed about keeping compiler simple which resulted in half-assed language that was then re-casted as achievement in minimalism. I've felt that Go is optimized for compiler designers as opposed to actual developers.
[ Parent
| on HN ]
Re:Learn Go: Hand-crafted Go exercises and examples
by diamondo25 on Sunday May 17, 2020 @05:16AM
(#23210755)
As a Go programmer myself, the syntax of Go is simple yet effective. You are in control of what should be done, and Go will make sure all edgecases are covered in _defined_ behaviour like a managed language would. In C, reading out of bounds is legal (except when the address is not accesdible). In Go, you will get a panic (that you can still catch, but its pointing out an invalid program state).
Re:Learn Go: Hand-crafted Go exercises and examples
by haxus_the_great on Sunday May 17, 2020 @09:10PM
(#23217153)
But how noteworthy is that? I'm sure programmers coming from C will appreciate it, but well-definedness is kind of… the bare minimum you'd expect from a modern language, especially a fairly high-level one like Go.