blog.jj5.net (2003 to 2005)

XML, XML, XML...

Fri Dec 5 16:34:00 UTC+1100 2003

Categories:

I caught all the XML hype around 2000. I have been a big fan, and was certainly one of the guys in the crowd yelliing “yes, let me express my content independantly of how it is marked up for a device”. Since then I've done a billion things with XML and related technologies, and really talking about XML now is almost as dull as talking about ASCII.

What has started to really shit me lately is the overuse of the actual word 'XML'. This particular rant has been tirggered because I've recently re-built my workstation, and as a result I haven't totally configured all my software the way I want it yet (aside from losing configuration due to roaming profiles and multiple workstation logins which is a seperate rant..). I just recompiled some software that I've written, and got a whole load of compiler warnings, like this one:

Missing XML comment for publicly visible type or member 'ApplyRelationships(string, bool)'

The thing that really gets up my nose about this is the use of 'XML comment'. Firstly, _technically_ the code comment feature in the C# language is only barely XML anyway, since each line is prefixed with /// it doesn't become XML until after those characters are removed, since XML is only a syntax.

I could go on, but I'm not going to, it just shits me. Why don't they say warning: Little Endian, UTF-8, XML comment...? The reason is because it's totally useless, redundant, etc. Just because the comment mechanism uses an XML-like syntax doesn't mean you have to brand it with the friggin' XML badge.

On a related note: If I hear 'XML web service' one more time I'm going to break something.

My friends tell me that I'm too sensitive.

John.


Copyright © 2003-2005 John Elliot