5 ms·
On XML vs. JSON, I used to hate XML until I started programming in ActionScript which has a really nice syntax for it (except a few oddities here and there). I
by Jach 16y ago
On XML vs. JSON, I used to hate XML until I started programming in ActionScript which has a really nice syntax for it (except a few oddities here and there). I use Enunciate at work ( http://enunciate.codehaus.org/ http://enunciate.codehaus.org/ ) which generates XML, JSON, AMF, SOAP/REST endpoints all by itself from base Java services and classes, which works well too.
Can't say I'm disappointed, back when I did twitter dev I used JSON for everything, plus it was really easy to interface with our JavaScript client (duh).
- tomjen3 16y agoI haven't used Action script but Scala has really nice support for Xml - it is properly the only language that allows you to do pattern matching on XML.
- simonw 16y agoScala's creator is on record as regretting the inclusion of XML literals in the syntax of the language: http://www.codecommit.com/blog/scala/working-with-scalas-xml-support http://www.codecommit.com/blog/scala/working-with-scalas-xml...