| ▲ | PaulHoule 2 days ago |
| Java has also improved greatly since JDK 7 so the need for JDK languages that are Java, but just a little better, is less than it was. |
|
| ▲ | BrandonSmith 2 days ago | parent | next [-] |
| Kotlin ecosystem extends way beyond the Java runtime. I have apps developed in Kotlin running in browsers and iOS, in addition to Android. |
| |
|
| ▲ | smith7018 2 days ago | parent | prev [-] |
| Kotlin is much better than "Java, but just a little better." |
| |
| ▲ | c03 2 days ago | parent [-] | | Kotlin has everything. A language isn't better just because it has more. Its great for DSLs though. | | |
| ▲ | PaulHoule 2 days ago | parent [-] | | Java is pretty good for DSLs too. | | |
| ▲ | ohdeargodno 2 days ago | parent [-] | | Language.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 2 days ago | parent [-] | | Language {
oh {
yes {
Java {
isSoNice
}
}
}
You can contrive awfulness in any language. | | |
| ▲ | PaulHoule 2 days ago | parent [-] | | The awfulness of one style of Java DSL is the awfulness of Lisp, that is building(of(S("expressions"),everything())
| | |
| ▲ | vips7L 2 days ago | parent [-] | | Not going to lie, my brain doesn't really comprehend lisp. So the joke (or point?) is way over my head. |
|
|
|
|
|
|