Matej Cerny's avatar
Matej Cerny 1 month ago
3️⃣ JEP 181 (Nest-Based Access Control) simplifies code for Scala's nested classes and companion objects. It lets them access each other's private members without the compiler generating public "bridge" methods, which is the current workaround.

Replies (1)

Matej Cerny's avatar
Matej Cerny 1 month ago
4️⃣ JEP 395 (Records) opens the possibility of compiling Scala's case classes directly into records, making them first-class citizens when used from Java.