15. Truthy et Falsy
• false, "", 0, null, undefined, NaN, void sont
FALSY
• Tous les autres sont TRUTHY
• même "0" et "FALSE"
• if( array.length )
• if( string )
41. Ecmascript 6
• Block Scope et Constante
Juin 2015
• default parameters
• Array comprehension
• Module : import / export
• class extends and constructor
• promise integration
42. Langages alternatifs
• TypeScript
• Dart
• CoffeeScript
• Haxe
• Roy
• Iced Coffee Script
Evaluation and comparison of alternate Programming languages to JavaScript
Aansa Ali
Research conférence in Technical Discipline
November, 18-22.2013
• Live Script
• Kaffeine
• ParenScript
• Fay
• Ceylon
43. CoffeeScript
• Héritage
• List Compréhension
• String interpolation
• Number property lookup
• Global variable
• compile time checking
• Existential Operator
44. Dart
• Optionnellement typé
• Génériques Réifiés
• Orientation objet et Mixin
• Big application ready : Module, librairie et
refactorisation
• Support de concurrence avec Isolation
51. Backbone
• léger, apprentissage
rapide
• Communauté
• Documentation
• Choix nombreux
• Pas de structure
mais des outils
• pas de two way
binding
• Dur à tester
• Trop de choix
52. EmberJS
• Convention over
configuration
• Integration REST et
tests
• Performances
orientés
• exemples dépassés
• templating avec
handlebar
53. AngularJS
• two way binding
• promise integration
• Communauté
• blocs structurant
• testabilité
• Complexité des
directives
• Scope hiérarchie
• Angular Expressions
• Beaucoup de Magie