Hacker News new | ask | show | jobs
by leetcrew 326 days ago
the advantage of var is not clear in toy examples. in real life, people write stuff like

  Map<String, MyExtremelySpecificAndVeryLongTypeName> myExtremelySpecificAndVeryLongTypeNameMap = myExtremelySpecificAndVeryLongTypeNameMapProvider.provide();
literally anything to reduce the number of line breaks needed for a single statement is welcome.