News for hackers. Stuff that matters.
Re:ECMAScript for XML - Direct XML Syntax in ECMAScript by trzeci on Wednesday June 02, 2021 @08:52AM (#27368101)
ActionScript 3.0 was a great example of implementing E4X.

I miss that language a lot. It has quite a few great concepts: XML, intuitive implementation of objects, where key can be anything. Statically typed. Prototypes. Typed vectors. for..each loop. Dictionary with weak keys (oh that I loved so much, it was so powerful to implement better memory management on top of this).

I spent like 10 years developing in it, now it's my 6 year since I've touched it last time : (

Re:ECMAScript for XML - Direct XML Syntax in ECMAScript by ludamad on Wednesday June 02, 2021 @09:15AM (#27368292)
I did a Masters on gradual typing for JavaScript/TypeScript. I definitely felt that a great practical implementation was lost in AS3. It made me first appreciate that dynamic typing is a godsend in truly dynamic cases, but otherwise types were my friend