re: Unhealthy Code: Null Checks Everywhere! VIEW POST


This came as divine intervention. I'm currently struggling with a null check hell case because of some inconsistently structured api data, and I was thinking about what would be the clean way to deal with it. Then this article came up. Thanks! :)


Sweet! The book covers the special case pattern also.

code of conduct - report abuse