3 ms·
kotlin is pretty neat to work with. In the end it is all bytecode (so java, or rather both java and kotlin output bytecode), but kt removes a lot of the ceremo
by on_and_off 7y ago
kotlin is pretty neat to work with.
In the end it is all bytecode (so java, or rather both java and kotlin output bytecode), but kt removes a lot of the ceremony, boilerplate, and altogether ideas that have proven to do not be that great in the years since java's inception.
- vips7L 7y agoThis is no longer true. Java has eaten a lot of the features Kotlin once had. The only things not provided by java are nullable reference types and coroutines (coming).
- pjmlp 7y agoSome people on Android bubble keep mistaking Android Java for the real deal.
- on_and_off 7y agomeh, java has indeed eaten a lot of the features that kotlin has (why do you use past tense ??). However, the java version is not necessarily as convenient, concise or powerful than Kotlin. E.G. I strongly prefer data class to records. No named parameters -> no default params -> way more boilerplate