Linked Questions

490
votes
2972answers
264k 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 ...
382
votes
48answers
179k 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
41answers
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 ...
19
votes
5answers
995 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: ...
16
votes
1answer
918 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: ...
15
votes
3answers
548 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 ...
16
votes
2answers
945 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 ...
8
votes
4answers
146 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 ...
5
votes
3answers
134 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, ...
12
votes
1answer
462 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
285 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: ...
-17
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 ...