3 ms·
Reminds me of Hypertalk and Metatalk. I personally don't like such verbose syntax, but many do. It's usually used in marketing languages to non-developer profes
by asnyder 15y ago
Reminds me of Hypertalk and Metatalk. I personally don't like such verbose syntax, but many do. It's usually used in marketing languages to non-developer professionals, however, in the end, I feel it becomes way more verbose and complicated than if you used the conventional concise approach.
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".
- paulca 15y agoIt may turn out to be too verbose, but in terms of my motivation, and conciseness vs. verbosity, the goal was to achieve: 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.
- paulca 15y agoI guess a follow on point is that unlike Hypertalk where the implementation is written in a DSL, whenever.js is just a way of _describing_ an implementation. Everything else is plain javascript, and you can use whatever language features you want within the definition functions.