Linked Questions
101 questions linked to/from Default for Code Golf: Input/Output methods
11
votes
4
answers
603
views
What even is a "function" by our standards?
On a recent question, the following was brought up by @Sp3000:
In fact, I'm almost starting to wonder what a "function" is, since it seems like every language with goto could define a "function" ...
23
votes
3
answers
525
views
Should we start "reviving" older challenges?
Related.
Earlier today, AdmBorkBork posted this question on TNB, asking whether or not PPCG was dying. In the following discussion, I have suggested we, as a community, could start "reviving" (for ...
12
votes
2
answers
429
views
Does Baba Is You belong here?
Introduction
Baba Is You is a puzzle game. In this game, a level is a grid that consists of objects and texts, and the objective of the level is to, if there are texts ...
8
votes
5
answers
205
views
Can a Prolog predicate have multiple choice points if it always chooses the correct solution first?
This stems from JoKing's answer to Sums of Consecutive Integers, where it can be seen that the predicate always unifies Z with the correct answer first.
However, ...
41
votes
1
answer
478
views
CGCC Blog Post #2: The history of PPCG and CGCC
We recently turned 10 years old. Unfortunately, we didn't really realise and therefore didn't really celebrate or even mark the occasion. But, it got me thinking about the history of the site, and now ...
12
votes
1
answer
176
views
Policy on Outputting Irrationals as Fractions
There's consensus that answering with fractions is allowable for decimals that can be expressed as fractions. But what about irrational numbers? Can they be expressed as a rational representation of ...
7
votes
2
answers
311
views
On-topic to ask for help with an pre-existing code golf challenge from another site?
There is a code golf challenge on a foreign (not related to Stack Exchange) site with which I have a problem. The challenge is designed for Python 3 and has a length limit of 150 characters.
I ...
15
votes
3
answers
590
views
What is a list?
The PPCG community seems to be moving towards more general I/O formats. Then, we could generalize our notion of a "list" so that it is not restricted to the built-in list or array constructs.
For ...
29
votes
0
answers
3k
views
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 ...
7
votes
1
answer
263
views
If your answer is acts differently depending on context, how safe do you have to be?
This is kind of a follow-up to / re-asking of "Should point-free function expressions be allowed when a function is asked for?" with specific reference to the only language I know how to golf in, j, ...
15
votes
3
answers
326
views
Can a C submission be in the form of a macro defined by command line argument?
In this question, the current C solution is
f(n){n=n?:1;}
Obviously this command line is shorter by 2 bytes:
-Df(n)=n?:1
...
11
votes
1
answer
250
views
Functions throwing exceptions: an exception to the rules?
I'm seeking greater clarity around whether we currently allow functions to throw exceptions, and if so, under what circumstances. There seem to be contradictory posts on this topic—several highly ...
8
votes
1
answer
169
views
Can Whispers programs ignore a final output line?
This was first asked by Leo in the Whispers chat room:
But I have a general question about Whispers submissions: couldn't we avoid counting the final Output line most of the time? We can consider the ...
7
votes
4
answers
267
views
"No comments" restrictions and stack-based languages / unused strings
Some classes of question are made more interesting by banning comments. For example:
Polyglots: example
Some source layout questions: example 1, example 2
Others, such as this code-bowling question ...
3
votes
2
answers
763
views
PHP and "STDIN or an acceptable alternative"
I had a few discussions regarding to use or not to use STDIN in answer written in PHP. Reading from STDIN is very expensive in ...