|
|
|
|
|
by sheeshkebab
2634 days ago
|
|
go codebases are not shorter (by much) than java's. Performance is also usually on par - unless java's equivalent is built around a lot of reflection (orm and what not). However, go compiled binaries are usually smaller, and code IMO is much more readable. |
|
For example, Go's err != nil pattern is often cited as being ugly, but good go code will often remove errors by design.
There's a good post by Dave Cheney about this; https://dave.cheney.net/2019/01/27/eliminate-error-handling-....
I think this is equally true of Java. Most Java code I've seen disgusts me, but I've also seen some beautifully written pieces.