- From: Liam R E Quin <liam@w3.org>
- Date: Thu, 23 Aug 2012 21:25:06 -0400
- To: Håkon Wium Lie <howcome@opera.com>
- Cc: Peter Moulder <peter.moulder@monash.edu>, www-style@w3.org, Michel Onoff <michel.onoff@web.de>
On Fri, 2012-08-24 at 01:27 +0200, Håkon Wium Lie wrote:
> Also sprach Liam R E Quin:
>  > A declarative alternative might be a way to express alternatives based
>  > on conditionals,
>  > 
>  > a.xref {
>  >     content:
>  >       /* chapter number, figure number, here, then... */,
>  >       when(target.nextpage, "see next page")
>  >       when(target.pagenumber = pagenumber, "(this page)")
>  >      ;
>  > }
> 
> Interesting idea. It's beginning to look like a programming language. Hmm.
XSLT (which is a declarative prog. lang.) isn't _all_ bad :-)
But I do think it useful to avoid keywords like if/then/else that to
many people suggest procedural code.
Liam
-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Received on Friday, 24 August 2012 01:25:20 UTC