Linked Questions

492
votes
2972answers
266k views

Sandbox for Proposed Challenges

What is the Sandbox? This "Sandbox" is a place where Code Golf users can get feedback on prospective challenges they wish to post to the main page. This is useful because writing a clear and ...
385
votes
46answers
180k views

Loopholes that are forbidden by default

There are a number of standard loopholes which experienced question-setters seek to explicitly close. However, inexperienced question-setters may unintentionally leave them open, or respondents may ...
86
votes
42answers
20k views

Things to avoid when writing challenges

If there is something that you find annoying / counterproductive / unfair / detrimental / no longer funny in challenges (question posts), describe it in an answer here, and propose a recommended ...
18
votes
5answers
998 views

What's a string?

If a challenge says that input will be in the form of a string, what is acceptable? Various languages have different ways of implementing strings, so here's what I've "borrowed" from Wikipedia: ...
8
votes
4answers
163 views

Default policy for ouput in decision problems

Challenges tagged as decision-problem involve "deciding whether the input meets certain criteria". Although some challenges with this tag involve more than two categories, most involve only ...
15
votes
3answers
552 views

What outputs should I allow for decision problems?

I'm looking for opinions on what outputs to allow as the Yes and No outputs on decision-problem challenges. The goal isn't to make a policy, but to help with a decision I often have to make when ...
5
votes
3answers
135 views

Is (consistently) swapping truthy / falsy values allowed in decision-problems?

I couldn't find any consensus on this on meta for a while, and this seems to be particularly helpful when answering decision-problem challenges. Should swapping truthy and falsy be allowed by default, ...
-16
votes
3answers
2k views

Downvoting needs to change

As shown by a recent challenge, once a few people have downvoted a question (say, three or four) everyone else thinks that they should downvote too leading to incredibly low scores. I think we need a ...
15
votes
2answers
949 views

The Tag Categorization Project

This is not a question; rather, it is a collection of categories of tags. The purpose of this post is to post information regarding specific categories, such as templates for tag wikis, and also to ...
17
votes
1answer
927 views

Keep your golfing in your code, not in inputs and outputs

I am becoming more and more annoyed at the ever-increasing number of rules about what is deemed acceptable as inputs and outputs to programs Here is a compilation of such rules that I found: ...
11
votes
1answer
467 views

Empty string as a truthy value

I will mainly speak about the programming language Lua, because that's where this question comes from. In Lua, everything but nil and ...
10
votes
1answer
286 views

Truthiness in Brain-Flak and similar stack-based languages

Stack-based languages don't necessarily fit in the pseudo-code model that constitutes our definition of truthy and falsy: ...
25
votes
0answers
2k views

Community FAQ for Programming Puzzles & Code Golf

Community FAQ For the Programming Puzzles & Code Golf site For official guidance from Stack Exchange, visit the Help Center. Posting Challenges/Solutions How can I incorporate good-looking ...