Linked Questions

0 votes
0 answers
63 views

How does one calculate bytes for a solution to a Code Golf scenario? [duplicate]

I am new to Code Golf, and would like to start answering questions/scenarios posted on this Stack Exchange Site. I have seen many scenarios posted before, and have come up with solutions for said ...
GipsyD's user avatar
  • 101
0 votes
0 answers
56 views

How should we score programs in languages that tokenize instructions? [duplicate]

I feel like this should be said, because many answers have been made in TI-BASIC, Applesoft BASIC, and other languages that tokenize instructions. How exactly should they be scored? Should we score ...
ckjbgames's user avatar
  • 1,309
572 votes
5k answers
337k views

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
33 votes
8 answers
6k views

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

Since programs may be created in vanilla (un-modded) Minecraft using redstone to create logic gates (and more), someone could create such a program for a challenge on this site. How would such an ...
mbomb007's user avatar
  • 23.4k
31 votes
7 answers
4k views

Counting bytes in Scratch

Scratch is a visual programming language, meant for teaching kids how to program. It's completely absent from this site, which, I think, is worth fixing. I have no specific challenge in mind. A ...
ugoren's user avatar
  • 17.4k
51 votes
1 answer
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 ...
Adám's user avatar
  • 30.2k
20 votes
2 answers
4k 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 ...
Erik the Outgolfer's user avatar
33 votes
3 answers
7k views

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
4 answers
3k views

How to score TI-BASIC

How do we score code written in TI-BASIC, when it comes to multi-character words? For example: :If X>2:Then:Stop Seemingly, the above should count as 17 ...
Ypnypn's user avatar
  • 10.9k
12 votes
3 answers
714 views

How to determine the length of a Piet program?

I noticed that Piet is not mentioned in the How to count bytes FAQ. How should we determine the length of a piet program?
Mike Bufardeci's user avatar
23 votes
3 answers
3k views

What character encodings may a submission use?

In code-golf questions, we typically score submissions by their byte count. However, whenever a submission uses a character outside of the ASCII range, the question of which encoding the code uses ...
isaacg's user avatar
  • 42k
14 votes
2 answers
1k views

How should vim answers be scored?

I like vim a lot. I've been golfing with it a lot recently. We already have clearly established that vim is a programming language, but there aren't any clear rules on how to score vim answers. The ...
DJMcMayhem's user avatar
  • 59.2k
11 votes
2 answers
708 views

How are line breaks and formatting counted for code golf challenges?

The title pretty much says it all. If I use tabs/spaces for making the code more readable, do I have to count them? Also, are line breaks counted as one character(...
Zaibis's user avatar
  • 1,703
25 votes
2 answers
2k views

Programming in LabVIEW - how to measure program size?

Inspired by this question, how would a LabVIEW program be scored? As one of the only graphical languages in common use today, LabVIEW is a bit of an outsider. As odd as it is, LabVIEW is a serious ...
Kyle G's user avatar
  • 870
20 votes
2 answers
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 ...
trichoplax is on Codidact now's user avatar

15 30 50 per page