Are there any books or resources your can suggest? I feel like my accuracy in thinking about corner cases have been stuck around 65% for a while and I'm looking for ways to improve.
This isn’t practical for large code bases, but you can do it with individual functions and chunks of code. I still work this way but I don’t think it’s a common technique anymore.