Re: Brackets and the Invention of CSS



On 2007-11-25, Stan Brown <the_stan_brown@xxxxxxxxxxx> wrote:
Fri, 23 Nov 2007 23:22:20 -0500 from Jonathan N. Little
<lws4art@xxxxxxxxxxxxx>:
dorayme wrote:
Is there some particular reason that the inventors of CSS chose
to leave us with the legacy of the curly brackets (for which one
has to shift press) rather than the square (for which one simply
has to press)?

Square brackets are for attribute selectors. A useful but not often used
feature because of IE.

But it could just as easily have been the other way. Good design
would say to use the shorter keystrokes for the more-commonly-
occurring use.

That's good keyboard design, not good syntax design. Syntax should be
designed for clarity and readability, not to be easy to type. If you
don't like typing something then just set up some macros in your editor.
.



Relevant Pages

  • Re: Brackets and the Invention of CSS
    ... to leave us with the legacy of the curly brackets (for which ... one has to shift press) rather than the square (for which one ... curly braces are shorter to reach than the square brackets. ... I prefer to design programming languages by the way it ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Brackets and the Invention of CSS
    ... to leave us with the legacy of the curly brackets (for which one has to shift press) rather than the square (for which one simply ... Square brackets are for attribute selectors. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Brackets and the Invention of CSS
    ... to leave us with the legacy of the curly brackets (for which one ... has to shift press) rather than the square (for which one simply ... square brackets actually are harder to type. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Brackets and the Invention of CSS
    ... to leave us with the legacy of the curly brackets (for which one ... has to shift press) rather than the square (for which one simply ... were round or square. ... bla blah ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Brackets and the Invention of CSS
    ... to leave us with the legacy of the curly brackets (for which one ... has to shift press) rather than the square (for which one simply ... Square brackets are for attribute selectors. ... validator: http://jigsaw.w3.org/css-validator/ ...
    (comp.infosystems.www.authoring.stylesheets)

Loading