6 ms·
the advantage of var is not clear in toy examples. in real life, people write stuff like Map<String, MyExtremelySpecificAndVeryLongTypeName> myExtremelySpeci
by leetcrew 1y 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.