News for hackers. Stuff that matters.
Re:Null Object Pattern in Swift by danappelxx on Wednesday November 11, 2015 @08:59PM (#10550824)
I agree. Perhaps it makes the code look cleaner on the outside, but ultimately it makes it harder to maintain. Also, optionals have loads of features (ex: chaining) to make your code much cleaner, though the author doesn't go into that.

It's a neat idea but I don't think it's as good as optionals.

There are no comments on this comment yet.