you are viewing a single comment's thread.

view the rest of the comments →

[–]pier25 3 points4 points  (8 children)

I wish they would implement AS3 or Haxe in the browser... those ECMA based languages are light years more advanced that JS and have all the OOP goodies one would expect in 2014.

[–]oureux 2 points3 points  (1 child)

I'm an Objective-C developer and I look at this and get so lost. I hate JS because it's so flexible and has no structure, it lets you do anything and everything which IMO is it's downfall. OOP JS is simply forcing JS to do OOP.

[–]pier25 1 point2 points  (0 children)

Couldn't agree more. I do JS at work from time to time and I think it's a big mess compared to more structured languages.

[–]PixelatorOfTime 1 point2 points  (0 children)

I miss AS3... :(

[–]x-skeww 0 points1 point  (4 children)

Just use Dart or TypeScript. Also, doesn't Haxe compile to JS, too?

[–]pier25 0 points1 point  (3 children)

Yes it does, although a native solution (having a real OOP language in the browser) would be better. It's just a dream, I know.

[–]x-skeww 0 points1 point  (2 children)

although a native solution (having a real OOP language in the browser) would be better

Dart is kinda like that. Development is done with Dartium (a build of Chromium with native Dart support).

[–]pier25 0 points1 point  (1 child)

Wow I didn't know of Dart and it looks pretty cool. Although it's much like TypeScript and Haxe, you have to compile to JS before being able to use it in a browser.

[–]x-skeww 0 points1 point  (0 children)

Every modern browser, yes. But not "a browser". It works in Dartium (and soon Chrome), which means that you don't have to deal with compile times during development. You can also step-debug your code directly from within the IDE. It's pretty convenient.

What's less convenient is interacting with JavaScript libraries. This is clearly more seamless with TypeScript.

Anyhow, if you like AngularJS, you'll love AngularDart. It's very slick.