|
|
|
|
|
by The_rationalist
1922 days ago
|
|
Interesting! However I wonder if building Java plugins is harder.
For example: JPA entities have for requirement to have a no-arg constructor.
Both Java records and Kotlin data classes have not such a constructor by default.
However kotlin has a no arg compiler plugin that autogenerate it for data classes (without any annotation) and Java Records don't have anything similar yet to my knowledge. (however they would still remain incompatible with jpa anyway because unfortunately they are immutable) |
|