DEV Community

Discussion on: Architectural decisions that you regret...

Collapse
 
matteojoliveau profile image
Matteo Joliveau

Not using Kotlin in a Java component that handles A LOT of nullable elements in a tree data structure. It would have made my life much easier, not to say my code more compact by removing all the obnoxious if not null, else I had to throw in it.

Collapse
 
andrewtheant profile image
Andrew Bastin • Edited

Same... I rewrote an old Java project of mine to Kotlin and boyyyy the null safety is epic!!!!