Paranoid Schizophrenic Programming (Revised)
Some folks love the twin ideas that (1) "someone" might break the API rules and (2) they must write lots of bonus code to "prevent" problems.
Sigh.
There are three distinct things here.
- API definition - something we do all the time.
- "Defensive Programming" - something that may or may not actually …