Linked Questions

457
votes
2526answers
238k 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 fully ...
91
votes
80answers
23k 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 ...
57
votes
11answers
2k views

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 ...
58
votes
7answers
848 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 ...
45
votes
1answer
3k views

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 ...
17
votes
1answer
2k views

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

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 ...
22
votes
2answers
2k views

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 ...
13
votes
2answers
1k views

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, ...
13
votes
3answers
319 views

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 ...
6
votes
2answers
375 views

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 ...
11
votes
1answer
255 views

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 ...
6
votes
2answers
311 views

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. ...
2
votes
1answer
122 views

Full programs, functions, and snippets in Mathematica

Related: Are objects in Haskell valid if there is no input? This answer prompted a question that I've wondered for a while so I could answer New users' guides to golfing rules in specific languages, ...
3
votes
1answer
75 views

Input in Underload

Since Underload has no input command, I have some questions relating to hard-coded input: Is hard-coded input allowed by default? If it is allowed, can the hard-coded input be anywhere in the program?...

15 30 50 per page