Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 20260

For clarification of rules that apply to challenges if not mentioned by the author

10 votes

Defaults for word lists

We already have defaults for how to take input, so just use those. This includes reading from a file, STDIN, function input, etc. …
xnor's user avatar
  • 147k
-1 votes

Standard definitions of terms within specifications

Write a function I propose this as the default for code golf questions that as for a function rather than a full program. I'm sorry if this all seems overly pedantic, but I've seen every single one o …
xnor's user avatar
  • 147k
4 votes

Default policy for output in decision problems

I'm for standardizing defaults in general, but I think we're not at that point for decision problem output. …
xnor's user avatar
  • 147k
44 votes

Things to avoid when writing challenges

Arbitrarily overriding the defaults The default code formats, input/output methods, and other defaults are a product of community thought and discussion. … Only override the defaults when they don't serve their purpose because of some specific feature of your challenge, and even then think if you can make the challenge accommodate instead. …
xnor's user avatar
  • 147k
74 votes

Things to avoid when writing challenges

Do X without Y This isn't always bad, but it's been a particular trap for beginners, so be careful. In the past, there were popular questions about doing a simple task but with the obvious method ba …
xnor's user avatar
  • 147k
33 votes

Things to avoid when writing challenges

Patching out approaches On your challenge, someone posts a solution that's cheap and not at all what you intended. You have the option to change the rules, but do so very carefully as there's many pit …
xnor's user avatar
  • 147k
37 votes

Things to avoid when writing challenges

Allowing standard loopholes in general Don't say "Standard loopholes are allowed". They ban silly things like making up a language where the solution is a single character or just printing the string …
xnor's user avatar
  • 147k
22 votes

Things to avoid when writing challenges

Using old challenges as a model Just because an old challenge did something doesn't mean yours should too. Many old challenges wouldn't pass muster nowadays. Don't be surprised if your challenge is d …
xnor's user avatar
  • 147k
16 votes

Things to avoid when writing challenges

Assuming you've addressed sandbox feedback When your challenge is in the sandbox and someone suggests a change or clarification, make sure your edit actually addresses their point. Too often the same …
xnor's user avatar
  • 147k
28 votes

Things to avoid when writing challenges

Popularity Contests Popularity contests, while allowed, are heavily disfavored by site culture. You're likely better off reworking your challenge to use an objective winning criterion that isn't vote …
xnor's user avatar
  • 147k
21 votes

Things to avoid when writing challenges

Tacked-on fixes If you clarify or modify your challenge after posting, don't just tack on a note to the end or to a list of bullet points. Edit in the change. It's confusing when the body of the ch …
xnor's user avatar
  • 147k
127 votes

Things to avoid when writing challenges

Cumbersome I/O formats Generally, allow flexible input and output formats. People want to write code to do your task of, say, composing permutations, not reading/writing numbers in a particular semic …
xnor's user avatar
  • 147k
24 votes

Things to avoid when writing challenges

Narrow references Beware of challenge topics that tickle your fancy, but others won't appreciate. An in-joke among friends A reference to a movie you like A task from actual code you wrote A small …
xnor's user avatar
  • 147k
78 votes

Things to avoid when writing challenges

Bonuses in code golf Digital Trauma wrote an answer about this, but I have harsher views on bonuses, so I'm posting to let people vote separately. Bonuses in code golf say things like "-30% of you …
xnor's user avatar
  • 147k
59 votes

Things to avoid when writing challenges

Chameleon challenges Chameleon challenges look like they're about one thing but are really about another. In doing the challenge, most of the effort is spent on something peripheral. Fix this by bein …
xnor's user avatar
  • 147k

15 30 50 per page