News for hackers. Stuff that matters.
Re:FlexJS: MXML and ActionScript to run natively in the brow... by Illniyar on Sunday October 16, 2016 @11:17AM (#12718960)
I don't know if NIH is applicable here, ActionScript 3 adopted the optional type syntax of what was supposed to be ES4 , not the other way around (I think).
Re:FlexJS: MXML and ActionScript to run natively in the brow... by artjumble on Sunday October 16, 2016 @11:49AM (#12719134)
If I remember correctly, early proposals of the ES4 standard had a type system. It was later removed, but ActionScript continued down that path anyway.
Re:FlexJS: MXML and ActionScript to run natively in the brow... by Jasper_ on Sunday October 16, 2016 @11:48AM (#12719128)
Nah, ES4 was far more complex and R&D-y than what AS3 put out. AS3 was basically TypeScript.

For a more complete idea of ES4's type system, see "Evolutionary Programming and Gradual Typing in ES4": http://www.ecmascript.org/es4/spec/evolutionary-programming-...

Re:FlexJS: MXML and ActionScript to run natively in the brow... by crudbug on Sunday October 16, 2016 @12:18PM (#12719311)
Dart / TypeScript / Flow are trying to fix the same problems.

Also, I see React with JSX repeating what MXML (AS3) / FXML (JavaFX) did 10 years back.

Re:FlexJS: MXML and ActionScript to run natively in the brow... by pitaj on Monday October 17, 2016 @12:32AM (#12722705)
FXML is only 5 years old, and acts more like HTML than JSX.
Re:FlexJS: MXML and ActionScript to run natively in the brow... by darkmarmot on Sunday October 16, 2016 @12:48PM (#12719507)
Adobe was pushing classes and types in ES4. From what I've heard, Microsoft sabotaged those efforts and Adobe continued on without them...
Re:FlexJS: MXML and ActionScript to run natively in the brow... by throwow34393 on Sunday October 16, 2016 @02:07PM (#12719970)
And now MS is trying to replace JS with Typescript ... the irony. So much time wasted because of petty fighting and stupid egos if anybody remembers what happened around 2006/2007 with ES4. So much stupid people that slowed down Javascript's evolution, and the web in general. MS bears a huge responsibility in this.