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

Is there a reason why we don't limit the title's length?

IMHO 80 chars should be enough ...

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

edit

Shortened title to ~80 chars for illustration.

  • Comment on Maximal title length (123456789 123456789 123456789 123456789 123456789 123456789 ....)

Replies are listed 'Best First'.
Re: Maximal title length (123456789 123456789 123456789 123456789 123456789 123456789 ....)
by kcott (Archbishop) on Apr 03, 2018 at 08:33 UTC

    G'day Rolf,

    The occasions on which excessively long titles are used is fairly small. I don't think this is a major issue; however, I'm happy to give my opinions.

    I don't think I've ever written an OP with a title containing >80 characters. In the main, 80 characters should be sufficient but I wouldn't want to be so inflexible that more than MAX_TITLE_CHARS (whatever that number might be) characters was absolutely disallowed.

    Responders often focus on some aspect of the original question and indicate that by appending to the title: the "(unnecessary considerations)" in this thread is a good example of that. I also add notes to a title to differentiate multiple responses that otherwise would have identical titles; for example, instead of many "Re^2: Title", I'll have "Re^2: Title (about X)", "Re^2: Title (about Y)", and so on. If someone posts a title with MAX_TITLE_CHARS characters, appending to it becomes impossible.

    If anything was done about title length, I think the source of the problem should be looked at rather than implementing some arbitrary maximum. The point at which titles are entered only has a very small entry box (variable with a proportional font but averaging about 20 characters) which makes it difficult to see exactly how many characters have been entered: this could be made wider to make it easier to use. In addition, a note along the lines of "Please keep titles under X characters", adjacent to that entry box, would probably be helpful. Furthermore, the link to "How do I compose an effective node title?" could be more usefully positioned in this general area (currently it's in a set of dot points, nested within another set of dot points, much further down the page).

    I think most of us who've been here any length of time compose perfectly acceptable titles. Those writing bad titles are generally newcomers, who don't know or understand the rules, and post entire questions, multiline error messages, or the like, in the title box. I think providing pertinent information, at the point of entry, would be a better option than heavy-handed enforcement.

    A couple of other (possible) improvements:

    • Although "How do I compose an effective node title?" mentions "concise" a couple of times, I don't see any indication of preferred, maximum title length. Perhaps that could be added.
    • On previewing a post, a message like "Your title contains 999 characters. Consider shortening it before submitting your post." might be helpful.

    — Ken

Re: Maximal title length (123456789 123456789 123456789 123456789 123456789 123456789 ....)
by Your Mother (Archbishop) on Apr 02, 2018 at 23:40 UTC

    Absolute minimum I'd be willing to support is 91 or else there is no way to post Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a Pict. I don't have a problem with 240 though and as a matter of policy, I would opt for greater freedom. :P

        I could not possibly agree with you more. Unless I were your sock puppet. But I'm not! No! Really, you guys!!! I mean, can you imagine?!??!1!

Re: Maximal title length (is 240)
by Anonymous Monk on Apr 02, 2018 at 20:12 UTC

    Is there a reason why we don't limit the title's length?

    Is there a reason we should?

    240 is the limit and I've only hit it twice in perlmonks history

Maximal title length
by LanX (Saint) on Apr 02, 2018 at 20:19 UTC
    Just tested the 240 char theory.

    Neither the input-tag (via max-length) nor the preview is limiting the length of the title.

    The final post silently discards everything over 240 char.

    I think 80 chars should be enough, anything longer will attract unnecessary considerations.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Wikisyntax for the Monastery

      I think 80 chars should be enough, anything longer will attract unnecessary considerations.

      Are "unnecessary considerations" really a problem?

      Is title length a cause (not even the cause, just a cause) ?

      "shorten title" is invalid consideration for title change as it doesn't suggest the replacement title

      It also just so happens to be not a traditionally good or valid or accepted reason to consider a title change

      Changing the rules for titles after two decades of perlmonks cause one 10 year old doesn't know how consideration should work?

      So, to fix an imaginary problem the solution is to fix the imaginary cause?

      I think no

        The question was if we want 240 character long titles. (I don't)

        If there is a consensus I'm willing to provide patches.

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Wikisyntax for the Monastery