3 ms·
I work on Dart. It was a lot of work to get there and we're still not totally there yet. Dart still supports running legacy code that isn't null safe. But I'm
by munificent 4y ago
I work on Dart.
It was a lot of work to get there and we're still not totally there yet. Dart still supports running legacy code that isn't null safe. But I'm really glad we did this and very grateful that Leaf and others on the team were able to design a null safety type system that:
* Defaults to non-nullable.
* Is fully sound.
The latter in particular is very nice because it means the compiler can take advantage of null safety to generate more efficient code, which isn't true in languages like Java, C#, and TypeScript where their null safety type rules deliberately have holes.