- From: Dimitri Glazkov <dglazkov@chromium.org>
- Date: Tue, 7 Feb 2012 12:26:02 -0800
- To: Erik Arvidsson <arv@google.com>
- Cc: public-webapps <public-webapps@w3.org>
On Tue, Feb 7, 2012 at 12:04 PM, Erik Arvidsson <arv@google.com> wrote: > On Tue Feb 07 11:41:24 GMT-800 2012, Dimitri Glazkov <dglazkov@chromium.org> > wrote: >> >> The pros are: >> * It's declarative and intuitively logical > > > I think this is a cons. Now you need both markup and code where you only had > code before. > > This also does not scale very well and it brings us down the XBL/HTC path: > > <script event="click"> > ... > </script> > <script event="mouseover"> > ... > </script> > <script event="mouseout"> > ... > </script> > <script event="mousedown"> > ... > </script> > <script event="mouseup"> > ... > </script> > <script event="mousemove"> > ... > </script> > > All these interleaving code-markup blocks makes the code harder to read and > maintain. That's a good point. :DG< >
Received on Tuesday, 7 February 2012 20:30:19 UTC