Hello,

this should give you an idea

 grep --include '*.java' -r 'var ' src/ test/

I think this is a new concept here which was introduced recently with
support of Java 11 / Java 17 after we dropped 8.

What is your opinion? Are we free to use it wherever we want? I am quite
conservative in this area and I will most probably still use types as we
know them but maybe in tests we might relax it a little bit? Or production
code with "var" is totally fine too without any concerns? I think this
should be covered by the code style.

Regards

Reply via email to