Preferred length limit for Code Golf posts
Currently the maximum number of characters for a Codidact post is 30,000. However, at some point this may be configurable per community (or perhaps per category). There is a GitHub issue for Configurable length limits for content.
If this configuration option is implemented, what limit would you like to see? Would you prefer this limit to be different per category? Would you want the limit to be different for questions than for answers?
1 answer
65,535
The database field can already handle up to 65,535 (216 - 1) characters.
Same for all post types and categories
I don't see a need for different limits for questions and answers, or for different categories.
Challenges
I sometimes find the current 30,000 character limit restrictive, particularly for challenges that involve example code and many test cases. The challenge specification doesn't need to be nearly this long, but I'd like there to be plenty of room for challenge authors to include relevant code and data.
Answers
I'd also like to post other types of challenge than code golf, such as King of the Hill contests. For these I would like there to be plenty of space for people to post both long code and explanations. Unlike code golf answers which are generally very short, other challenge types may lead to answers that are longer since the scoring criterion does not require short code, allowing for a more readable layout and explanatory comments.
Precedent
If answers exceeding 30,000 characters seem unlikely, I've seen real world examples of these in a King of the Hill contest I posted many years ago on Code Golf Stack Exchange.
I designed the contest to allow answers that were only a single line of JavaScript, but to also allow for more complex strategies to emerge through competition over time. The eventual winner was an answer with 33,648 characters (only possible because I had previously requested the limit be raised for that community).
I like the idea of a King of the Hill contest that also has golfing elements - perhaps a small character limit or some kind of cost per character. However, I wouldn't want all King of the Hill contests to have such restrictions. I'd like plenty of space to experiment.
0 comment threads