News for hackers. Stuff that matters.
Re:New in Go 1.20: wrapping multiple errors by p-e-w on Sunday December 11, 2022 @08:35AM (#33943024)
I would hesitate to call Java a better language than Go, but Java is much older so the designers of Go should have learned from Java's mistakes, which they did not.

When Java was new, though, it was certainly a far better language compared to its contemporaries than Go was when it came out in 2009.

Re:New in Go 1.20: wrapping multiple errors by kaba0 on Sunday December 11, 2022 @09:59AM (#33943728)
Its exceptions (even with the not perfect checked ones) are eons better than Go’s solution. Not sure how expressive Go has gotten with generics, but Java can solve plenty of problems very elegantly with streams. Oh, and did I mention that Java is goddamn more concise than Go? But for some reason verboseness is never brought up against the latter.
Re:New in Go 1.20: wrapping multiple errors by jpgvm on Sunday December 11, 2022 @09:10AM (#33943312)
That and Java still continues to be both faster moving and more innovative than Golang despite all that baggage.