Re: Classes Considered Harmful

On Saturday, July 7, 2001, at 09:36  PM, Kynn Bartlett wrote:

> Classes are sometimes harmful.  Not always.  Let's try not to make
> too sweeping of generalities here; as an example, it would be very
> hard to use CSS with XHTML if the general belief is that "classes
> are harmful."

This is a flaw in (the current version of) XHTML. Because it 
does not allow easy extensibility via namespaces, developers are 
forced to use the class attribute to get a poor approximation. I 
think that semantics and accessibility would be better served if 
XHTML did things a different way.

--
[ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]

Received on Saturday, 7 July 2001 23:42:21 UTC