Linked Questions

538
votes
3547answers
293k views

Sandbox for Proposed Challenges

This "sandbox" is a place where Code Golf users can get feedback on prospective challenges they wish to post to main. This is useful because writing a clear and fully specified challenge on ...
405
votes
48answers
196k 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 ...
95
votes
47answers
22k 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
1k 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
963 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
596 views

What outputs should I allow for decision problems? [duplicate]

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 ...
9
votes
7answers
314 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 ...
18
votes
2answers
1k 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 ...
5
votes
3answers
139 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, ...
11
votes
1answer
503 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 ...
27
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. General information Welcome to Code Golf and Coding Challenges Stack ...
10
votes
1answer
291 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: ...
-15
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 ...