Skip to main content

Questions tagged [tips]

For questions asking for tips on golfing in a specific language, doing well in certain challenge tag, or improving a particular piece of code.

1 vote
1 answer
150 views

I would like to create a language that is specifically designed for compiling/translating to another Turing tarpit language. I want to make the program of the target language to be as short as ...
Fmbalbuena's user avatar
  • 5,085
2 votes
1 answer
345 views

I'm pretty new to code golfing, but I recently came across a guy on Kattis that consistently has exactly 5 character Bash solutions for some problems. For example, here is a leaderboard showing his 5 ...
Donald Trump's user avatar
8 votes
5 answers
2k views

What general tips do you have for golfing in ☾ (Moon)? I'm looking for ideas which can be applied to code-golf problems and which are also at least somewhat specific to ☾ (e.g. "remove ...
noodle person's user avatar
7 votes
4 answers
1k views

We already have a few language-specific tips threads for languages which fall under the array-language umbrella, but there are many golfing tricks which are more or less universal among these ...
noodle person's user avatar
7 votes
1 answer
354 views

Maple is designed for mathematical computation, with a focus on symbolic algebra, calculus, and data visualization. I’m experimenting with code golf in Maple and want to make my scripts as concise as ...
user avatar
4 votes
0 answers
178 views

Sidef, created by Daniel Șuteu, is designed for expressive, compact code, especially in mathematical domains (e.g., number theory, combinatorics). I’m diving into code golf challenges using Sidef and ...
user avatar
11 votes
7 answers
3k views

Fortran is a compiled imperative language known for its numerical and scientific computing strengths. It blends traditional procedural programming with some modern features like array operations. What ...
user avatar
3 votes
1 answer
131 views

COBOL is a high-level, compiled programming language designed for business applications, readability, and long-term maintainability. It emphasizes verbose syntax, English-like readability, and robust ...
138 Aspen's user avatar
  • 7,257
3 votes
5 answers
200 views

What are some general tips you have for golfing in Bespoke? I want answers that are specific to Bespoke (e.g. don't just say "remove comments"). One tip per answer. Esolangs page ...
Josiah Winslow's user avatar
3 votes
0 answers
197 views

Zig is a low-level, statically typed, and compiled systems programming language designed for safety, performance, and simplicity. It provides direct control over hardware with an emphasis on explicit ...
138 Aspen's user avatar
  • 7,257
0 votes
1 answer
326 views

I have the following Python code, which is 214 bytes long: ...
RannStudio's user avatar
10 votes
4 answers
904 views

There isn't a builtin in golfscript which lets you rotate a bigger portion of the stack than the three top-most elements. It should take one number n as argument and rotate the nth value from the top, ...
Styleurcam's user avatar
0 votes
1 answer
401 views

The following code is 47 characters. print(("Ekki v","V")["COV"in input()]+"eikur!") How can it be reduced to 46 or less? I ...
LargeHorse's user avatar
3 votes
0 answers
189 views

What general tips do you have for golfing in Emmental? It is a self-modifying language defined by a meta-circular interpreter, so I wonder if there are tips for golfing for this esoteric programming ...
CrSb0001's user avatar
  • 867

15 30 50 per page
1
2 3 4 5
26