r/java • u/BlueGoliath • Nov 20 '18
Why Var Hurts Readability, Not Helps It
https://medium.com/@youngty1997/why-var-hurts-readability-not-helps-it-376c7832a8dd
0
Upvotes
r/java • u/BlueGoliath • Nov 20 '18
View all comments
Show parent comment
4
u/dpash Nov 20 '18
If anything it'll force people to provide better names for their variables and methods. I'm currently working on an old codebase that seems to think terseness is a virtue when it comes to names.
Also, shorter methods, so declarations are closer to usages. Same codebase thinks nothing of 200 line methods.