massimiliano.mantione@gmail.com
Classical “web development”
Particularly, Javascript programming!
When I sow Javascript for the 1st time (in 1995) I vowed that I would never touch such an abomination, even with a 10 feet pole
Eventually, along this year, I changed my mind...
Functions (Lamba)
Lexical Scope
Loosely Typed
Dynamic Objects
Dynamic Dispatch
Prototypal Inheritance
Syntax
Some conventions
Name (Part)
(null !== undefined) && (null == undefined) ==> true
object = null;
if ( !object ) ... ==> /* if branch not taken */
[] + [] ==> ""
[] + {} ==> "[object Object]"
{} + [] ==> 0
{} + {} ==> NaN
What can we do to make them come true?
Again, look at Coffescript: