|
|
|
|
|
by bccdee
46 days ago
|
|
My big issue with Go is, the language just isn't that great. Zero values instead of sum types, reflection instead of proper macros, a mediocre module system… Java's warts are far worse than Go. Everything is nullable. There's no module system to speak of. It's so IDE-dependant. I agree with the spirit of "use boring technology." So thank god Go is boring enough that I don't have to write Java anymore. |
|
Only reference types, the same as in golang (which also has nullable pointers, and its interfaces interact weirdly with null). Java is getting value types, which can be declared as non-nullable.
> There's no module system to speak of.
https://dev.java/learn/modules/
> It's so IDE-dependant.
Modern Java has been simplified that you can run a hello world program as follows:
Furthermore, any non-trivial project is better served with an IDE, regardless of language.