Skip to main content
223 votes

How can we help users who are put off by the use of golfing languages?

Stop upvoting trivial solutions It's easy to imagine why a new user would be frustrated when the highest-voted answer is a 3-byte solution in a golfing language with a built-in that nearly solves the ...
xnor's user avatar
  • 145k
59 votes

How can we help users who are put off by the use of golfing languages?

What SE could do for us... One of the most popular suggestions from "We're not a Q&A site, but what should be done about it?" is to add software support for answer metadata (mainly scores and ...
Martin Ender's user avatar
35 votes

How can we help users who are put off by the use of golfing languages?

As someone who doesn't use golfing languages, I can sympathise to a degree with the users left burnt by golfing langs. You spend time solving a problem in a popular language, post your solution, and ...
Quill's user avatar
  • 575
35 votes
Accepted

How does this site work?

What does "Code Golf" mean? Code golf, (Or Codegolf) as the name suggests, is the art of making programs that are as short as possible that complete a task. What is "Code Golf & Coding ...
ATaco's user avatar
  • 10.8k
33 votes

Advocate languages to golf in

Java Java may be verbose, but don't we golfers come to PPCG to have a challenge? Don't we come here to do what was thought to be impossible? We golf not because it is easy, but because it is hard. ...
noɥʇʎԀʎzɐɹƆ's user avatar
33 votes

How can we help users who are put off by the use of golfing languages?

Stop accepting trivial solutions Note: As of September 2021, accepted answers aren't pinned to the top anymore. Don't give the green checkmark to the shortest solution when it's shortest by being in ...
xnor's user avatar
  • 145k
32 votes

Default for Code Golf: Input/Output methods

In languages without any method of input (e.g. ///) programs may get input through an insertion into the source code
boboquack's user avatar
  • 2,317
32 votes
Accepted

How should vim answers be scored?

vim answers can be run from the command line as such: ...
Doorknob's user avatar
  • 71.5k
31 votes

Default for Code Golf: Input/Output methods

Submissions may use list of strings instead of multi-line strings Input or output may be the equivalent of the string separated by newlines. For example, the multiline string: ...
Jo King's user avatar
  • 47.2k
31 votes

Can serious contenders do more than the challenge asks for?

Serious contenders do not contain superfluous code I propose the following: If a part or multiple parts of the code can be deleted without affecting its functionality with regard to the challenge ...
Dennis's user avatar
  • 210k
29 votes

Advocate languages to golf in

Retina Before we start: if you hate regex with a passion, you can stop reading here. You're not getting around using regex when coding in Retina. That said, you don't need to be a regex expert either....
Martin Ender's user avatar
29 votes

How can we help users who are put off by the use of golfing languages?

De-emphasize code-golf And concentrate on other challenges, tricks and hacks with the code where golfing languages are less advantaged. Make PPCG more about Programming Puzzles than about Code Golf.
Vi.'s user avatar
  • 2,697
28 votes
Accepted

Programming in Minecraft (Redstone) - how to measure program size?

There is now an MC Standard for bytecount. With the 1.10 update, they introduced a block called the "structure block", which creates a .nbt file representing a structure in its entirety that can be ...
Addison Crump's user avatar
28 votes
Accepted

What do we rename Advent of Code Golf?

Code Golf Advent Calendar (As suggested in the question) While I think "Advent of Golf" is snappier, I think it should be clearer that this is referring to code golfing in the name. 'Code ...
27 votes

Default for Code Golf: Input/Output methods

Full programs may take array/string input (of unknown length) via stdin in the form of <length> <contents> or ...
Bubbler's user avatar
  • 77.1k
26 votes

Default for Code Golf: Input/Output methods

Functions may return their result in an optional type wrapper Relevant meta discussion. By "optional type wrapper" I mean something like Maybe a in Haskell, ...
Esolanging Fruit's user avatar
26 votes

Advocate languages to golf in

Brachylog A declarative logic language The vast majority of golfing languages on this site are stack based. Some are also imperative or APL-like. Very few are declarative (Brachylog is probably the ...
Fatalize's user avatar
  • 38.9k
25 votes

Default for Code Golf: Input/Output methods

An array may be represented in input as a pointer and length. For example in C you could use: int f(int*p,int l){...}
MegaTom's user avatar
  • 4,266
25 votes

Default for Code Golf: Input/Output methods

I/O for sequence questions may either be 0-indexed or 1-indexed Any sequence question that has the user output the \$n\$th term, first \$n\$ terms, etc. of a sequence should allow programs to index ...
lirtosiast's user avatar
  • 21.5k
24 votes

Default for Code Golf: Input/Output methods

Multiple arguments to a function can be taken as a list or tuple instead For example, if you needed to take in two integers as arguments, you can take one argument: a list of both integers. Apparently,...
The Thonnu's user avatar
  • 18.1k
24 votes
Accepted

How to count bytes in languages with autoformatters

Count code size before autoformatting Rationale: You can type or paste unformatted code into the interpreter, hit run, and it works. The fact that the interpreter adds whitespace or expands shortcuts ...
DLosc's user avatar
  • 39.7k
21 votes

Default for Code Golf: Input/Output methods

black-box functions to be taken as input can be passed as an argument This holds for functional languages or languanges that do have first class functions/anonymous functions/lambda functions or ...
flawr's user avatar
  • 43.8k
21 votes
Accepted

Introducing a New Golf Language

First of all, welcome to Programming Puzzles & Code Golf! I'm thrilled you've joined our community. There's no registration process for using a new language--just start using it! It's generally a ...
Alex A.'s user avatar
  • 24.6k
21 votes

Advocate languages to golf in

J J is different Syntax, datatypes, built-in functions: J differs from most mainstream languages in all of these aspects. J is the successor of APL (that language with all the weird Unicode symbols),...
Zgarb's user avatar
  • 42.7k
21 votes

How can we help users who are put off by the use of golfing languages?

For me I joined because it is fun. I spend all day writing readable code and sometimes it's nice to write something just because I can. I have no problems with golfing languages. The shortest code ...
ElPedro's user avatar
  • 6,469

Only top scored, non community-wiki answers of a minimum length are eligible