3 ms·
From Java 10 this is valid Java also: var value = getValue() So it's almost exactly the same in both languages. It's not a problem for most IDEs, just hover y
by lossolo 7y ago
From Java 10 this is valid Java also:
var value = getValue()
So it's almost exactly the same in both languages.
It's not a problem for most IDEs, just hover your mouse over the value or use keyboard shortcut to get the type. This was never an issue for me in Java or Go.