Yes we could, but what if the team is trying to av...
# announcements
j
Yes we could, but what if the team is trying to avoid nullability hard as they can? Of course that we could write some function to work around this but would much nicer if this kind of feature was provide natively.
r
I think "avoiding nullability as hard as they can" is an incorrect mindset to have. Nullability can be extrememly useful. The fact that Kotlin adds null safety doesn't mean you should avoid null, but instead use it where appropriate (unlike Java where null is implicit everywhere).
2