|
|
|
|
|
by avl999
1766 days ago
|
|
Go is my favorite language to write code in. I was very skeptical when I first started learning it for a new job with error handling that looked archaic in comparison to exceptions but once I got the hang of it it has quickly become my preferred language of choice for any project. Once generics are finally added the language should basically be a no-brainer for any serious production code. |
|
Is that code just idiomatic, and Go programmers recognize it instantly? Or maybe they don't deal with slices that often?
https://github.com/golang/go/wiki/SliceTricks