4 ms·
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 objec
by trzeci 5y ago
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 : (
- ludamad 5y agoI 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