Re: CSS and structure

>I idle in #css on efnet (SkierX) and we attempt to help people with a
>slew of questions regarding CSS everyday.  I cannot recall a single
>instance in which any question ever involved a problem comprehending
>the syntax.  There are individuals who have incorrect or poorly
>written syntax, but in my experience everyone has grasped the basic
>syntactical format (selector { property: value; }).  I feel any
>attempt to alter this could only result in a language that is more
>difficult to understand.

There is a sweet spot when defining grammar (i.e. a place between too simple 
and too complex) that one wants to target in their design.

The current system has lots and lots rules about interactions that aren't 
described by the grammar.

Box properties can't be set on something using the Inline model, but can be 
with the Inline-Block model. This is just one of dozens of complex 
interaction rules.

Assembler is one of the simplest grammars, but it does little to help a 
person code.
Operation Param [, Param] [, Param]

But I don't like coding in assembler, nor do most people based on the 
quanities of people who flock to other languages.

There is a point of complexity that should be targeted. Right now the 
grammar doesn't do the job it could.

Orion Adrian

Received on Wednesday, 7 July 2004 16:57:55 UTC