WordPress.org

Support

Support » Themes and Templates » Blank lines in theme files, taste great or less filling?

Blank lines in theme files, taste great or less filling?

  • No really, they bug me. But I see them in EVERY theme. Aren’t they ‘weight’ albeit marginal? And in most themes I see 2 or 3 at a time, what gives? Uggh! One or two, here or there to delineate sections of code or styles, okay… bah! Enough.

    I noticed there weren’t no mention of them in the coding standards doc over in the development section…

    What is quality?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Quality is how we rate what we perceive, conceive. Didn’t you ever read Zen and the Art of Motorcycle Mechanics? Sheesh.

    Empty lines often come from Mac/Unix/PC having different interpretations and handling of same. In a perfect world, blah, blah blah.

    Bottom line is they prolly were not there when the person wrote the theme, although double-spacing is used by some for readability.

    Motorcycle “Maintenance”! Which actually ties in nicely with readability.

    Ciao!

    Touche! *bows*

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blank lines in theme files, taste great or less filling?’ is closed to new replies.