Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/ ) 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).



I 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.


Scala'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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: