Andrey (azangru) wrote,
Andrey
azangru

Why
would anyone
(especially anyone with at least some web dev experience)
use square brackets
— with spaces!!! —
in class names?



A space is an attribute separator. So each element with these square-bracketed classes acquires a class called "[" and a class called "]". Why would anyone do something so blasphemous?

(github link)
Subscribe

  • (no subject)

    On the dreadful state of the style of modern Russian communication. "There is no alternative", writes an author, and then immediately outlines an…

  • Via Twitter

    Via a tweet, but I thought I'd get my own copy. A beautiful illustration of how a caption totally misrepresents what's been captured in the photo.…

  • (no subject)

    Here's an extract from Uncle Bob's book Clean Agile. Although he has fallen out of grace with the champions of social justice, the sentiment…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments