Comment by nunobrito

Comment by nunobrito 3 days ago

0 replies

Yes, well expressed. For that case using var is not a wise approach.

It does help when writing:

    var x = new MyClass();
Because then you avoid repetition. Anyways, I don't ever use "var" to keep the code compatible with Java-8 style programming and easier on the eyes for the same reasons you mention.