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).
[ Parent
| on HN ]
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.