Archive > Bitter > Blog > ha ha ha but seriously [Report]
Bitter

ha ha ha but seriously

Posted by Bitter 10 years ago

 

Why didn't I just use XML for the ToMW file format

Like seriously it would have saved so much time over tweaking a binary file format with visual editors

smhfml
Comment on ha ha ha but seriously

0 / 8,096

Comments
RavenXeo

Posted by RavenXeo 10 years ago Report

*pats*

[ Reply ]

Toadba

Posted by Toadba 10 years ago Report

I heard the best case for the format frowns is too write a story. Always cheers me up! :P haha
I do feel your pain though. Hindsight is a real dick >.<

[ Reply ]

darkevilme

Posted by darkevilme 10 years ago Report

If you had used XML, i might of made the mistake of not using XML. The experience you won, was put to use.

[ Reply ]

Bitter

Posted by Bitter 10 years ago Report

Though I have to admit that while XML is good for being human-readable, being human-writable with convenience is another matter entirely. C#'s XML serializer likes to put things like integers in their own element tags, and I really think that humans wouldn't want to go around writing <Strength>3</Strength> for every creature type (it nearly doubles the number of characters you have to type, assuming you're doing it from scratch.

[ Reply ]

eatmeplease

Posted by eatmeplease 10 years ago Report

Why not use a flat file, like what .ini files tend to be? Or .conf if you're a Linux user like me.

[ Reply ]