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.
If you're using JS, take a look at lodash.com/docs/#get
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.