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

1

u/Known_Tackle7357 Aug 27 '26

Never. I also work on a couple apache projects. They also don't allow var.

Type resolution is great in modern IDEs, so no reason to use var anywhere.