# Should we increase our post character limit to allow substantial stack snippets?

Calvin's Hobbies posted on Mother Meta about increasing the character limit for posts across the Stack Exchange network. This answer shows that it is possible to increase the limit from the standard 30,000 characters for individual SE sites, and this has already been doubled for Code Review.

To allow questions to have both a comprehensive spec and description, plus a substantial Stack Snippet, should we increase the character limit for PPCG? Would doubling the limit work for us too, or is there a reason to have more still?

Examples where both spec golfing and controller golfing were required due to the 30,000 character limit:

Or should we change it to a smaller limit...?

• I say "doubled", but actually for Code Review it has been more than doubled, to the nice round number 65,536. Sep 24, 2015 at 7:52
• Why not just host the JS (+HTML) externally? It solves the problem of having massive scrollbars on the code snippets too.
– grc
Sep 24, 2015 at 11:26
• @grc If necessary I'll link to a jsfiddle but I really like the idea of a self contained question which runs the challenge/example/answer validator directly in the same page. Sep 24, 2015 at 11:29
• It's not something I'd recommend spending time and effort on, but if increasing the limit is just a matter of changing a parameter, why not...? Sep 24, 2015 at 11:31
• @grc as for the scrollbars, see Calvin's Hobbies' Red vs Blue where the code is all put on one line. This gives only a horizontal scrollbar and no wall of text in a question for which the code is not intended to be read (it's still available in readable form externally for anyone wishing to read it). Sep 24, 2015 at 11:33
• I mean <script src="external.js"></script> in the code snippet - it's still run on the page.
– grc
Sep 24, 2015 at 11:35
• @grc I had misunderstood. That's a good point. I'd still rather not depend on the persistence of external sources, but hopefully we'll see arguments for both sides in the answers. Sep 24, 2015 at 11:37
• @trichoplax Is that limit inclusive? Also, it's for questions and answers? Sep 29, 2015 at 19:06
• @mbomb007 if by inclusive you mean the maximum number of characters is 30,000 rather than 29,999 then yes I believe it is inclusive (although I don't have a source for that). Sep 30, 2015 at 7:14
• @mbomb007 I think the same maximum applies to both questions and answers. It appears that there is just a single limit parameter from the comment on Code Review but I don't know for certain. If you feel strongly either that they should or should not be the same length, you could post an answer here mentioning both questions and answers. Sep 30, 2015 at 7:20

I increased the limit to 65536 to match Code Review. There's an auto flag for very long posts, so a moderator will have an opportunity to delete or edit unnecessarily long posts. As a rule, giant posts are not good for a site. But if someone really needs to post extremely long code, they can.

• Thanks very much for doing this! Since we encourage people to "sandbox" challenges on meta before posting to main, would you be happy to also increase the post limit on meta (which is currently still 30000), or should this be a new feature request? Jul 15, 2017 at 23:57

## Yes.

The post character limit should be doubled to the same length as Code Review's.

The two most common reasons for the character limit on other Stack Exchange sites (people posting logs, or their entire source code for people to read through) are invalid when applied to PPCG. There won't be anyone posting logs on a PPCG question for obvious reasons. And though people may post the entire source code of a Stack Snippet, the reader is not expected to read through the code.

My hopes are that increasing the character limit will result in even more ambitious challenges utilising Stack Snippets in creative ways.

# No.

I feel that this really goes against the spirit of this website. Programming Puzzles and Code Golf, and all. If anything, I say to reduce the post limit.

• Do you want questions and answers to be more limited in length regardless of whether they are golf posts? Oct 6, 2015 at 13:35
• Please golf your answer. I see unnecessary whitespace at the very least. Oct 6, 2015 at 13:58
• #No<LF>Against site spirit.Reduce post limit. Apr 7, 2016 at 20:48
• @wizzwizz4 Your comment with code didn't use code formatting. Please use #No<LF>Against site spirit.Reduce post limit. the next time you comment with code. Aug 3, 2016 at 21:18
• Golf many bytes: Programming Puzzles and **Code Golf**, -> PP**CG**. Nov 20, 2016 at 11:34