A compact overview of JDK 21’s “frozen” feature list
Seeing Java getting these features is a breath of fresh air. I wonder how this will impact Kotlin.<p>Being compatible with Java was one of the goals for Kotlin. We soon have a lot of features in the JVM mother language that are solved different in Kotlin. For example:<p><pre><code>  - Data Classes vs Java&#x27;s Records
  - Nullability
  - String Templates
</code></pre>
Not diverging from the core language is what made TypeScript successful on a long term. This won&#x27;t work for Kotlin (and was not a goal). It will be interesting to see whether the languages will diverge even more - maybe to an extend where they will become incompatible - or the interop will converge somehow. Diverging languages will certainly make the interop harder.