Good post. Shows very well which aspects of Go is easy to pick up, and which isn't.
The code examples naturally shows an how a newcomer would approach this.
I have no idea where the author picked up "A major recurring point is that Go seems to advocate runtime over compile time checking", which couldn't be more false IMO.
For fun, I did a quick re-write of how it typically would look:
Hi Klaus, I need to sort the editor out, but you can use pre and code tags to display code, I've edited your comment above to do this. You can also use anchor tags to put links in (again will have a friendlier interface soon using contenteditable).
Good post. Shows very well which aspects of Go is easy to pick up, and which isn't.
The code examples naturally shows an how a newcomer would approach this.
I have no idea where the author picked up "A major recurring point is that Go seems to advocate runtime over compile time checking", which couldn't be more false IMO.
For fun, I did a quick re-write of how it typically would look:
Gist, since this doesn't really handle inline code ;)
https://gist.github.com/klauspost/e6105a857de22a028171
Hi Klaus, I need to sort the editor out, but you can use pre and code tags to display code, I've edited your comment above to do this. You can also use anchor tags to put links in (again will have a friendlier interface soon using contenteditable).