Linked Questions

10
votes
3answers
626 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
1answer
327 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
2answers
79 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 ...
17
votes
1answer
3k 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 ...
13
votes
5answers
416 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 ...
13
votes
3answers
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 ...
12
votes
2answers
483 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 ...
18
votes
1answer
432 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
1answer
671 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-...
9
votes
5answers
429 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, ...
14
votes
3answers
607 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
2answers
465 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 ...
49
votes
0answers
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
3answers
644 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,...
4
votes
3answers
353 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. ...

15 30 50 per page