Jump to content

I hate JS, what other choices have I ?


Mr.Vil
 Share

Recommended Posts

Hi !

 

I've started "normal" web developpement two months ago, and it was painful.

 

I'm coming from C# developpemement and Javascript is chinese to me.

So, I look to Typescript and Dart (and Coffescript, but I think it's worse).

 

I want to use Pixi.js or EaselJs

 

But as far as I can see, it's not so easy to import Javascript librairies in Dart.
 

Is someone tried these language and can tell me how it worked ?

Link to comment
Share on other sites

  • 2 weeks later...

I've ported a few small javascript projects to Typescript and was really impressed. If you want to stick with pure ES6 then you can use Babel, but Typescript's syntax follows ES6 conventions very closely anyway so its more a matter of preference.  I'd personally avoid using something that didn't at least follow ES's basic structure.

 

Edit: As far as hating Javascript.. i am (was) with you. But now that we have ES6 and Typescript, it's like Javascript without the really horrible bits that were classic Javascript. Anyway it's impossibe to avoid these days. :)

Link to comment
Share on other sites

If you're not working on a team there aren't that many advantages to using haxe or typescript over regular es2015 JS.

Shame that you don't like it, it certainly has flaws but they become 'lovable quirks' (sometimes, actually, not very often) over time. The newest spec actually gives us some proper tools for building complex apps so the JS world is certainly a better place to play in than a few years ago.

But yeah, if it's not your thing then why bother? Use it as a transpile target and write your programs however you see fit

Link to comment
Share on other sites

I was AS3 developer 2 years ago and back then I was hating JS too. But then I invested some time into understanding its core principles and came to love it and its dynamic nature.

 

On a sidenote, you can actually create a self-rewriting Artificial Intelligence in JS. Like purely self-rewriting, not combining stuff from predefined chunks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...