http://www.perlmonks.org?node_id=1047407

Vote on this poll

UPPERCASE
[bar] 101/22%
lowercase
[bar] 195/42%
CamelCase
[bar] 50/11%
dromedaryCase
[bar] 33/7%
Ucfirstcase
[bar] 1/0%
uclastcasE
[bar] 2/0%
vOwElcAsE
[bar] 16/3%
CoNSoNaNTCaSe
[bar] 4/1%
rAndoMCaSe
[bar] 44/9%
None of the above
[bar] 20/4%
466 total votes
Replies are listed 'Best First'.
Re: Markup tags should be written in:
by Voronich (Hermit) on Aug 01, 2013 at 13:47 UTC

    lowercase

    Markup tags are distinguished in so many different ways that there's no need to yell on top of it all.

Re: Markup tags should be written in:
by tobyink (Canon) on Aug 01, 2013 at 23:52 UTC
    • whatever the spec requires (but lowercase if the spec is case-insensitive)

    (Yet I choose to write SQL keywords in ALL CAPS.)

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

      Well, that -- SQL keywords in uppercase -- does tend to highlight the table & column names in lowercase excellently. When everything is in lowercase, a query requires too much effort to pick out its purpose.

      Needless to say all uppercase is even harder to parse; doable but I would rather do 0,$s/./\L&/g if only to make reading easier.

Re: Markup tags should be written in:
by DrHyde (Prior) on Aug 01, 2013 at 10:14 UTC
    Greek
Re: Markup tags should be written in:
by 5mi11er (Deacon) on Aug 01, 2013 at 22:36 UTC
    Klingon was my first thought.
Re: Markup tags should be written in:
by Ratazong (Monsignor) on Aug 01, 2013 at 10:33 UTC

    Lets check the official guideline Markup in the Monastery: The mandatory markup-tags featured in Chapter 1 are <p> and <c>.

    This means the Gods either advocate lowercase, dromedaryCase, vOwElcAsE or rAndoMCaSe.

    Rata
      That very fact caused me to pause before answering. Then, I realized, the purpose of the poll was to get the opinions of individuals, not the rhetoric of their Gods.

      I am like unto a Heretic of olde; I am willing to postulate that the Gods in this case were granting a boon unto the People; pity, perhaps?

      :: ducking ::

        Bummer. I just found out (yeah, I'm a bit behind the curve) that XHTML defined an all-lowercase standard. And HTML5 dropped the <tt> tag.

        The world is moving in the direction of stealth tags and camouflaging computer text to look like human text.

        Old fogies like me will simply miss more of them, I guess. I suppose we should start hiring you youngin's to read the tags for us. Heck, you probably don't even need glasses.

Re: Markup tags should be written in:
by betterworld (Curate) on Aug 08, 2013 at 10:03 UTC
      Interestingly, the article compares the found state to lowercase, but does not perform a comparison when converted to all usercase.

      So is it the lowercase, or the consistency of the case, that yields the gain?

      Inquiring minds want to know.

Re: Markup tags should be written in:
by swampyankee (Parson) on Aug 05, 2013 at 23:02 UTC

    Lower case, because it's more esthetically pleasing


    Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

Re: Markup tags should be written in:
by ChuckularOne (Prior) on Aug 01, 2013 at 12:31 UTC
    I almost always see them as ALL CAPS or CamelCase, but the fact that the style is so variable, even within a single document; I have to say RanDOmcAse.
Re: Markup tags should be written in:
by Ralesk (Pilgrim) on Aug 12, 2013 at 08:42 UTC

    Back in the olden days when the world hadn't yet got the hots for the case-sensitive XHTML, I used to ALLCAPS the HTML tags (similar to how the examples in the W3C docs had been written) and had the attributes in CamelCase. Values, where case didn't matter, lowercase. It was a nice distinction and made it easy to read things even without source code highlighting.

Re: Markup tags should be written in:
by code-ninja (Scribe) on Aug 02, 2013 at 19:00 UTC
    I personally prefer CamelCase. No reasons whatsoever but during my undergraduate, one of my faculty used to crib a lot about not using the CamelCase. He'd ask us reprint all the lab-records if we hadn't used CamelCase... so it became a habit and it even makes sense to me... its easier to read.
Re: Markup tags should be written in:
by TJPride (Pilgrim) on Aug 14, 2013 at 20:47 UTC
    This should really be a poll between uppercase and lowercase. No other way of doing it makes any sense. Personally, I find lowercase less ugly.
      From How do I create a Poll?:
      It must be stressed that the polling booth is for amusement only, and should not be taken seriously.
Re: Markup tags should be written in:
by talexb (Chancellor) on Aug 24, 2013 at 16:01 UTC

    Lower case is fine -- I believe it's been proven that it's faster to read lower case than upper case; in addition, the tags that HTML uses are well known and aren't that long.

    Alex / talexb / Toronto

    "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Re: Markup tags should be written in:
by atcroft (Abbot) on Aug 25, 2013 at 05:55 UTC

    Personal preference: consistent case (i.e., whatever method used for tags is used for all of them, throughout the document for its lifetime, no matter how many authors are involved).

    Update: 2012-08-25 - Fixed missing close parenthesis.

Re: Markup tags should be written in:
by GotToBTru (Prior) on Aug 29, 2013 at 14:07 UTC
    Case doesn't matter. Just use the smallest font you can to save on space.
Re: Markup tags should be written in:
by Anonymous Monk on Aug 03, 2013 at 17:33 UTC
    JUDEOTTO5
Re: Markup tags should be written in:
by chacham (Prior) on Aug 25, 2013 at 23:03 UTC

    Well, only one of these should make it through, right?

    <COMMENT>UPPERCASE IS BEST</COMMENT>
    <comment>lowercase is best</comment>
    <Comment>CamelCase IsBest </Comment>
    <comment>dromedaryCase isBest</comment>
    <Comment>Ucfirstcase Isbest</Comment>
    <CommenT>uclastcasE isbesT</CommenT>
    <cOmmEnt>vOwElcAsE Is bEst</cOmmEnt>
    <CoMMeNT>CoNSoNaNTCaSe iS BeST</CoMMeNT>
    <cOmMeNt>rAndoMCaSe iS BeSt</CoMmEnT>
    <for Mayor>None of the above</for Mayor>
Re: Markup tags should be written in:
by Yary (Pilgrim) on Aug 30, 2013 at 14:20 UTC
    OtHeR: aS iN eVeRy oThEr LeTtEr
Re: Markup tags should be written in:
by chacham (Prior) on May 09, 2017 at 20:35 UTC

    For me, tags represent a mood. Proper mood requires uppercase, perl mood requires lowercase, pretty mood required Camel Case. That's got to be it, because i use lowercase in my unseen tags here. Yet on other sites, i may use uppercase, even though it makes no difference whatsoever.

Re: Markup tags should be written in:
by vrk (Chaplain) on May 10, 2017 at 19:25 UTC

    Remember PETSCII? On Commodore computers (C64, C128), the SHIFT+COMMODORE key combination switches the codepage between uppercase and lowercase letters. Perversely, shifted means lowercase. But with this kind of a feature, it doesn't matter if you type your tags in uppercase – just SHIFT+COMMODORE to change them all to lowercase.

View List Of Past Polls