Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
But.... Java 10 has released like months ago
@sharktits You're right, my bad. I thought it was still in beta or something 😅
If a variable's type is ambiguous, you're not naming things correctly.
Type inference looks so much nicer.
matste5822yYou’ll get used to it, then you will be anoyed by code with unnecesary type declaration.
When you rename a class, so much fewer lines of code will need replacement.
You can even try it in older Java with Lombok’s „val”.
BTW, Java already has sort-of type inference for variables: Lamda arguments don’t need declaration. Does anyone complain that the type is not explicit?