Linked Questions

571 votes
5k answers

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 ...
Sandbox's user avatar
127 votes
118 answers

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 ...
Martin Ender's user avatar
63 votes
11 answers

Leaderboard Snippet

I've been using a stack snippet for a while to generate leaderboards for my simpler or more popular code golf challenges. I want to share the code for this snippet here so others can use it more ...
Martin Ender's user avatar
58 votes
7 answers

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 ...
Martin Ender's user avatar
51 votes
1 answer

When can APL characters be counted as 1 byte each?

Prompted by this. The question of APL's encoding often comes up, and many times a helpful soul links to Wikipedia's article on the APL EBCDIC codepage. However, each implementation of APL has its own ...
Adám's user avatar
  • 30.4k
20 votes
2 answers

Command-line flags on front ends

Our standard policy regarding command-line flags states that one should count the space before the dash (-) too, when there aren't any "free" options, since it ...
Erik the Outgolfer's user avatar
33 votes
3 answers

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 ...
18 votes
2 answers

Are functions that only work when called valid as answers?

In Haskell it is possible to define functions that will cause a compiler error unless they are called elsewhere in the program. For example the following code causes a compiler error ...
Wheat Wizard's user avatar
  • 98.8k
20 votes
2 answers

When is code that requires a REPL acceptable?

Question in brief: For what challenge types and in what circumstances should code that requires a REPL be acceptable in an answer? There seems to be an understanding in chat that code that only works ...
trichoplax is on Codidact now's user avatar
13 votes
2 answers

Unnamed Functions in Code Golf

For many code golf questions, we allow functions as answers. What exactly does it mean for some code to be a valid submission as a function? This question came up during a discussion on built-ins, ...
isaacg's user avatar
  • 42k
9 votes
2 answers

Are objects in Haskell valid if there is no input?

We allow both programs and functions. Some challenges, mostly kolmogorov-complexity challenges, do not require input. This means that for some challenges you can write a function that takes no input. ...
Wheat Wizard's user avatar
  • 98.8k
11 votes
3 answers

Do we need an introductory knowledge base? / Do we need a new language showcase?

So recently, a new user asked a well-meaning question, that was along the lines of "How did you learn all these things and at what point in your life/career did you make the decision to learn a ...
Socratic Phoenix's user avatar
15 votes
1 answer

Is a transliteration tool enough to grant count as SBCS?

Prompted by this. I'll speak about Dyalog APL here, but this could really apply to any language. Background Dyalog APL has its own SBCS called ⎕AV. For backwards ...
Adám's user avatar
  • 30.4k
6 votes
2 answers

Is outputting a Maybe acceptable in Haskell? [duplicate]

The vote on this output option has moved here. Haskell has a very strong type system, so there is a type called Maybe to work around some restrictions. The ...
totallyhuman's user avatar
  • 17.2k
28 votes
0 answers

Community FAQ for Code Golf and Coding Challenges

Community FAQ For the Code Golf and Coding Challenges site For official guidance from Stack Exchange, visit the Help Center. General information Welcome to Code Golf and Coding Challenges Stack ...

15 30 50 per page