Linked Questions
20 questions linked to/from On "interactive" answers and other special conditions
10
votes
3
answers
678
views
Should non-standard compiler flags be included in character counts? [duplicate]
In some languages using a compiler flag might significantly shorten the source file, by making the compilation command longer. Should we make inclusion of the character count of the flag in the total ...
4
votes
1
answer
365
views
How do we count compiler/interpreter flags? [duplicate]
It's accepted practice to include non-standard compiler or interpreter flags in a program's byte count (most often used with Perl and Ruby, to run the program in an implicit I/O loop - but there are ...
0
votes
2
answers
86
views
How do mandatory flags in new languages get counted [duplicate]
This is different then this
I am writing a new code-golf language and am thinking about making two modes. One would be stack and other tacit. However you would have to specify what one you want to ...
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 ...
12
votes
5
answers
441
views
Potential execution flag rule break
I am currently developing a golfing language for a specific type of task. I was hoping to use some command line flags for different options in the language. Since the language is intended to be a ...
21
votes
1
answer
613
views
General rules for custom languages and libraries
The rules for what languages and libraries are allowed on this site seem to be scattered all over the place.
I'm looking for a simple check list to know if a custom language or a custom library is ...
14
votes
3
answers
1k
views
Counting bytes for multi-file programs
So far, submissions consisting of multiple files have simply been counted by summing up the scores of the individual files. Also file names aren't counted as long as they are arbitrary. (We do count ...
15
votes
3
answers
742
views
A proposal on command line flags [duplicate]
I've been thinking about command line flags for a while, and I think that we should stop adding them to our byte counts. And instead consider different invocations to be different languages. Now ...
12
votes
2
answers
529
views
PHP and warnings
Sometimes when golfing in PHP, one uses tricks as reading/pushing to an inexistent variable, or using deprecated functions such as split(), but those things outputs ...
9
votes
5
answers
490
views
Can interpreter flags causing major language differences be considered different versions of the language?
I recently (this morning) extended Cubically to have an internal cube of variable size. The cube size is passed via a third interpreter flag (3 for a 3x3x3, ...
13
votes
1
answer
715
views
Is HTML/CSS a programming language?
CSS can simulate rule 110 and thus is turing complete. Thus HTML + CSS is considered a programming language for our definition. However, as user @TimmyD mentioned appropriately
HTML+CSS is Turing-...
12
votes
2
answers
503
views
Is the PHP opening tag mandatory in byte count?
After answering the first time on PPCG on "Source code ecological footprint" I had a little discussion about it. I found it's OK if your program throws notices or warnings. But I couldn't find ...
53
votes
0
answers
2k
views
How to count bytes FAQ
We've got a lot of questions asking how to count the bytes in different situations. This question is here to put them all in one spot.
General questions
How to count "interactive" answers ...
13
votes
3
answers
690
views
JavaScript Standards for IO
When it comes to JavaScript code-golf, there tends to be two schools of thought regarding IO (specifically printing).
Some golfers will use functions such as alert,...
5
votes
3
answers
367
views
How should we score compiler/interpreter build-time options?
Prompted by this comment.
The scoring of optional flags passed to compilers/interpreters has already been handled here and here. However there is another case of one more level of indirection. ...
7
votes
1
answer
242
views
Bytes for changing a configuration file before running a program?
In this answer using Python's turtle module, I discovered that some default settings for the turtles are set in a configuration file called ...
7
votes
2
answers
439
views
Interpreter flags for controlling output: considered cheating?
I'm creating a programming language aimed at code golf puzzles. The language has an internal set of tapes, where the computations are saved and then retrieved to the user.
At the end of the program, ...
3
votes
1
answer
230
views
Shebangs; yes or no?
It's only ~20 chars but in code golf, they all count. I guess whether shebangs should be included could be up to the individual question askers, but I think we need some kind of convention.
...
3
votes
1
answer
155
views
Is the interpreter part of the language or a separate language?
As I understand it, for our purposes a language is more or less defined by its implementation. That's one of the reasons why a program like Vim can also be "language". You just count keystrokes ...
1
vote
1
answer
131
views
Why should Brain-Flak pay for input when Python doesn't have to?
Currently if you wish to take input as a string in Brain-Flak you are going to need the -A flag. This looks like:
...