xeladu
May 13, 2024

--

But what's the difference between checking for null and checking for a default value or empty list or dummy object? I don't feel that this is cleaner.

One could argue that if the language forbids nulls you don't need to check for them.

--

--

xeladu
xeladu

Written by xeladu

Flutter and Firebase expert, blogger on QuickCoder.org, find my ebooks and freebies on shop.quickcoder.org, contact me on me.quickcoder.org!

Responses (2)