W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > August 2009

Re: Why bound prefixes are an anti-pattern in language design

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 6 Aug 2009 23:37:30 +0000 (UTC)
To: Martin McEvoy <martin@weborganics.co.uk>
Cc: Danny Ayers <danny.ayers@gmail.com>, RDFa Developers <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <Pine.LNX.4.62.0908062336010.28566@hixie.dreamhostps.com>
On Thu, 6 Aug 2009, Martin McEvoy wrote:
> Ian Hickson wrote:
> > Does RDFa rely on strings that are bound to other strings in order to form
> > identifiers when combined with a third set of strings?
> Yes it does, so does Javascript, PHP, CSS,  pretty much every other Object
> orientated syntax..?

Could you illustrate how this is the case in JavaScript?

CSS does indeed have such an indirection mechanism (actually it has two, 
the selector mechanism and the @namespace mechanism), and both have proved 
quite confusing to authors. I would not recommend designing CSS that way 
if we were starting over from scratch.

CSS has the advantage (over RDFa) that authors can immediately see if what 
they did was wrong, though, since it affects the rendering.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 6 August 2009 23:38:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:32 UTC