Mark Baker considers validation harmful. I agree only half way — following Postel’s law (“Be conservative in what you do; be liberal in what you accept from others”), validating what you produce as opposed to what you consume might make sense. Although I’ve never done it in practice yet, I consider Schematron an ideal candidate for ensuring the necessary preconditions for processing some input are met.
This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.