[phpBB Debug] PHP Notice: in file /viewtopic.php on line 969: Use of undefined constant gu - assumed 'gu' (this will throw an Error in a future version of PHP)
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 969: Use of undefined constant personal_album_id - assumed 'personal_album_id' (this will throw an Error in a future version of PHP)
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 969: Use of undefined constant gu - assumed 'gu' (this will throw an Error in a future version of PHP)
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 969: Use of undefined constant user_images - assumed 'user_images' (this will throw an Error in a future version of PHP)
Speed Dreams Community • View topic - Why XML?
Page 1 of 1

Why XML?

PostPosted: Wed Apr 27, 2016 5:01 am
by Sneebol
We use XML to store variable data about cars, tracks and menus. Why? Both JSON and YAML are easier to read(especially YAML).

Re: Why XML?

PostPosted: Wed Apr 27, 2016 3:28 pm
by tlow
Legacy. TORCS dates back to the late 90s when XML was the new thing. Switching requires large effort for very little gain.

Re: Why XML?

PostPosted: Thu Apr 28, 2016 1:11 am
by Sneebol
Thanks for the quick reply!

Also yeah, I see what you mean. I tried to make my own data format with Haskell (found a guide for one, not that I followed it: http://blog.functorial.com/posts/2013-0 ... guage.html), but I got bored of that and sorta realized nobody really seem to know Haskell, and I didn't think about all the work that had to be done around it. Again, thanks.