Hacker News new | ask | show | jobs
by zeroq 616 days ago
Actually, one of the things I miss the most from AS is... E4X.

I work with ton of json, including hundreds of kubernetes definitions per project, and I really miss the ability to parse the data so swiftly and effective with native syntax.

1 comments

I've never used E4X, but it at least looks like it'd make XML more tolerable.

Most XML experience I had was ejabberd and XMPP. Was thoroughly pissed off by the end of it. We ended up sending JSON over IQ messages instead because we were super done with XML, only to find that iOS's XML parser takes O(N^2) time to parse each element. Had to split the elements to make it work. 0/10 would not recommend.

I have been using an event XML parser to process XML on iOS (such as expat). You can processed the XML as a stream and it is very efficient.
haha, reminds me of the GTA parser drama :)