Go 1.20 released
It is great that Go1.20 improves compile times after generics were added in Go1.18 [1]!<p>Overall, I think adding generics to Go was a big mistake. It brings the following drawbacks:<p>- Slower compile times, even if generics aren't used. This slows down development pace in Go.<p>- The reduced code readability if generics are used. This slows down development pace in Go.<p>- The increased complexity of Go compiler. This slows down Go compiler development and increases chances for bugs.<p>- Very low adoption of generics in practice, since they aren't useful in most Go code bases. The generics are actively used in some freaky packages only after the year since they were released in Go1.18.<p>The only useful thing from Go generics is a syntactic sugar, which allows replacing `interface{}` with `any`.<p>[1] <a href="https://go.dev/doc/go1.20#compiler" rel="nofollow">https://go.dev/doc/go1.20#compiler</a>