The golden rules for XML usage

(April 21, 2006)

A few minutes ago, a friend came up with the idea of a XML-based checksumming tool. This is another great example of immense over-engineering in the XML world. I won’t go into detail about when to use XML and when not – I just want to establish some basic rules:

  1. If you come up with a XML-based solution for your problem, think again.
  2. If, while thinking it over thoroughly, you didn’t find a better solution, ask other people.
  3. If these people also don’t find a better solution, ask people who don’t even know XML how they would solve the problem.
  4. If no one came up with a satisfactory solution that didn’t involve XML, use XML.