3 ms·
"And it's about 7 extra characters in a line of this length." (regarding the example from "Class literals" sections) Well, the Kotlin line is still shorter ov
by V-2 8y ago
"And it's about 7 extra characters in a line of this length."
(regarding the example from "Class literals" sections)
Well, the Kotlin line is still shorter overall, despite the ".java" bit, because it allows to get rid of "new" keyword (two of them), and to replace the first occurence of "GsonBuilder" with "val".
- greiskul 8y agoPeople who live in glass houses shouldn't throw stones. A java programmer complaining about another language being verbose is hilarious.