2 ms·
Looking at the site's example: https://lemonadejs.net/v1/examples/hangman https://lemonadejs.net/v1/examples/hangman ... I see a lot of ugly ES5 code where ev
by cutler 5y ago
Looking at the site's example:
https://lemonadejs.net/v1/examples/hangman https://lemonadejs.net/v1/examples/hangman
... I see a lot of ugly ES5 code where everything is prefixed with self. How is this progress?
- deleted 5y ago[deleted]
- montroser 5y agoWhat you are criticizing is (the fashion of) the example app there, not the functionality or interface of the framework itself. The lemonade.element function just wants a template and an object with some methods. Whether you use ES6 classes or proxies, or ES3 constructor functions with prototypical inheritance, or object literals to define that object is a matter of taste, and it is all up to you.