| A personal hate for XML |
| Wednesday, 20 January 2010 09:03 |
|
I'm incorporating a resource loader for my spartan framework, it reads the needed resources for the game and delivers them on demand by and Identifier, this way I can just exchange the path from the resource file and my game will work as intended without any compilation. I never knew how much a resource loader could make a diference in my games, just the sight of a loading bar on the start of my tutorial, makes it much more professional. Nevertheless, I hate XML, I really hate XML, let me repeat I HATE XML and yet as a de facto standard for data representation in files I'm drawned to it as flies are drawn to piles of dung (wich is actually a good analogy). So my resource loader does read XML files (which I hate) and I ask of you... Why does XML seems so nice yet be so bloated, a simple structure in a text file could do the same thing, but beacuse Im using XML, I need to add a XSD to validate the damned thing. But that's not the real problem, my problem is that its BLOATED, some times you have more text from tags than from actual data, its not as simple to edit and XML file as one believes and its not as pratical as we were told, so why oh why do we use XML? Well back to work now... Have a nice day. |