Development on Va...
Follow
Find tag "compiler"
8.6K views | +1 today
Development on Various Platforms
Your new post is loading...
Your new post is loading...
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

JavaScript and Friends: CoffeeScript, Dart and TypeScript

JavaScript and Friends: CoffeeScript, Dart and TypeScript | Development on Various Platforms | Scoop.it

This article assumes that the reader has a good knowledge of JavaScript and has done at least some development in it, but if this is not about you, you can just first refer to one of the beginner’s JavaScript books like Eloquent JavaScript.

JavaScript is an amazing, often underappreciated and misunderstood language. It has some really powerful concepts like functions as first-class citizens (see, for example, JavaScript: The World’s Most Misunderstood Programming Language), flexible prototypal inheritance and is a powerful generic programming language that can be used not only in browsers.

Despite all its power and flexibility the language has some well-known design shortcomings such as global variables, cumbersome emulation of lexical scoping, non-intuitive implicit conversions, etc. In fact, there are parts of the language that you better avoid using at all, as it is advised in JavaScript: The Good Parts. Let us also note that from the beginning JavaScript was not specifically designed for developing applications with large code bases and many developers involved.

Contents:
* Why JavaScript Isn’t Enough?
* Example JavaScript Program: Dijkstra’s Algorithm
* CoffeeScript
* TypeScript
* Dart
* Web Application Development
* ECMAScript 6
* Conclusions


Via Jan Hesse
more...
No comment yet.
Rescooped by Ertunç Efeoğlu from JavaScript for Line of Business Applications
Scoop.it!

JavaScript + Other Languages

JavaScript + Other Languages | Development on Various Platforms | Scoop.it

JAVASCRIPT IS GREAT:

Runs in all browsers

Familiar syntax

Dynamic typing

OTHER LANGUAGES ARE GREAT TOO:

Existing code

Developer tools

Static typing

MIXING LANGUAGES:

When useful, gives you the best parts of multiple languages

GOING THROUGH JAVASCRIPT:

Might seem like an odd solution

But replacing JavaScript with anything else would slow down the web

Adding another virtual machine (VM) alongside JavaScript is complicated (cross-VM GC, etc.)

Consensus to standardize any such change would be very hard

 


Via Jan Hesse
more...
No comment yet.