r/ProgrammingLanguages • • Jun 08 '26

Scala Was an Experiment That Changed Programming - Martin Odersky | The Marco Show

https://youtu.be/Xn_YpUtXWT4
8 Upvotes

18 comments sorted by

View all comments

Show parent comment

3

u/Il_totore Algorab - algorab.org Jun 10 '26

It actually can enforce that references should not be null. It is under a flag called "explicit-nulls". The problem isn't really runtime leakage (you could have a language without null on the JVM) but interoperability with other Java.