I used to joke that when using one of these scripting languages you would have to start your statements with "please" and end with "thank you".
I used to joke that when using one of these scripting languages you would have to start your statements with "please" and end with "thank you".
1) conciseness of expression of intent ... I feel that this is the most important thing to get accross 2) conciseness of implementation logic: having chainable condition statements would hopefully lose a lot of if...else... conditionals within implementation logic 3) conciseness of conceptual mapping of the bound element to its name, eg. 'The "New Post" link" vs. "a#new-post" ...
Again, this is all just an argument from motivation rather than experience. It may turn out that this was a really, really bad idea.
Everything else is plain javascript, and you can use whatever language features you want within the definition functions.