|
|
|
|
|
by EdwardDiego
1924 days ago
|
|
Yeah, for me, Java 16 bringing record classes (data classes/case classes etc.) to the table is making Kotlin less compelling. Simply because using Kotlin brings in more moving parts. For example: https://docs.micronaut.io/latest/guide/index.html#kotlin > When you use any Micronaut AOP Advice, it creates a subclass at compile-time to provide the AOP behaviour. This can be a problem because Kotlin classes are final by default. If the application was created with the Micronaut CLI, the Kotlin all-open plugin is configured for you to automatically change your classes to open when an AOP annotation is used. To configure it yourself, add the Around class to the list of supported annotations. |
|