W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: [widgets] P&C simplifying some rules (editorial)

From: Robin Berjon <robin@berjon.com>
Date: Wed, 6 Jan 2010 15:17:23 +0100
Cc: "cyril.concolato" <cyril.concolato@telecom-paristech.fr>, public-webapps <public-webapps@w3.org>
Message-Id: <40E98087-578D-4875-B1F1-D641CA62A639@berjon.com>
To: Marcos Caceres <marcosc@opera.com>
On Jan 5, 2010, at 23:29 , Marcos Caceres wrote:
> Yeah, admittedly, it got a little messy wrt what defines a rule and
> what defines a step... that was me doing crazy literary experiments in
> the hope of making the spec easier to read and work with... I wanted
> to write rules like they were reusable functions, and the Steps as if
> they were independent parts of a program... not sure if I succeeded,

FWIW I found it really useful. While implementing I basically made every rule into a method, then wrote the steps as one big processing chunk and it proved to be really simple.

Robin Berjon - http://berjon.com/
Received on Wednesday, 6 January 2010 14:17:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:04 UTC