3 ms·
Kotlin is much better than "Java, but just a little better."
by smith7018 1y ago
Kotlin is much better than "Java, but just a little better."
- c03 1y agoKotlin has everything. A language isn't better just because it has more. Its great for DSLs though.
- PaulHoule 1y agoJava is pretty good for DSLs too.
- ohdeargodno 1y agoLanguage.Builder().getOh().getYes().getJava().getIsSoNice().setFor(() -> { return "DSLs";}); No trailing lambdas, no infix operators, no @DslMarkers, no top level functions, and an infinite list of examples of Java verbosity making even the smallest thing look like an ancient greek epic. Java is utterly terrible for DSLs.
- vips7L 1y agoLanguage { oh { yes { Java { isSoNice } } } You can contrive awfulness in any language.