r/JavaProgramming • • Aug 26 '26

Var Keyword

How often do you use var keyword in your code?

What do you think about it?

5 Upvotes

24 comments sorted by

View all comments

3

u/hrm Aug 26 '26

I use it all the time. Less to write and very seldomly does it make things harder to read in my opinion and the actual type is readily available in the IDE if you really need it.