Linked Questions

541
votes
3655answers
297k 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 ...
111
votes
99answers
32k views

Default for Code Golf: Input/Output methods

It looks like we have a consensus that we want certain defaults for the format which answers are expected in for code-golf. On that poll, the question arose twice, which input/output formats should be ...
95
votes
47answers
23k 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 ...
59
votes
6answers
16k views

What are programming languages? [duplicate]

Often, answers to questions asking for "programs" or talking about "programming languages" utilize things like sed, awk, … in ...
59
votes
7answers
957 views

A proposal to combat Meta Bloat™: The Big Consensus Freeze

I believe it's a widely acknowledged problem in this community that the number of meta posts a new user needs to know to figure out all the rules has long got out of hand. We require certain answer ...
19
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: ...
15
votes
4answers
1k views

Should function literals be allowed when a function is asked for?

I'm arguing with the poster of this answer. The function literal as is doesn't cause the function to be defined, it has to be assigned to a variable, giving it a name or wrapping it like ...
23
votes
3answers
2k views

Welcome to Code Golf and Coding Challenges Stack Exchange!

What is this site? This is a place to host recreational coding challenges, such as code golf. We are unlike most sites in the Stack Exchange network. We are not a question-answer site, nor are we a ...
12
votes
4answers
867 views

Is the current time or date with modulo random enough?

Several questions have recently been asking about random. I see a lot of answers in those questions using the date not as a seed but as the random number that is then modulo'ed. Seen in Java: ...
4
votes
2answers
206 views

Are non-uniform random distributions allowed?

I posted a challenge that requires programs to generate a random number in a range, and one answer used the rgeom function from R. This function uses a geometric ...
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 ...
16
votes
1answer
416 views

What are the standard requirements for answering a [random] challenge?

There are lots of of challenges involving randomness. However, not all languages have a built-in method for randomness. Some languages, like python or most golfing languages make it really easy. You ...
-3
votes
1answer
146 views

User posting answer of an unavailable tool [duplicate]

I have noticed a user making questionable answers. Here are some examples: In for a bumpy ride Concatenating n with n + 1 Let's design a digit mosaic Print the digital root Simple ASCII Gantt In ...