Comments on Default Rules: Code Golf I/O
Parent
Default Rules: Code Golf I/O
What input/output methods do you think should be allowed/disallowed while code golfing on this site? What guidelines for input/output methods do you think should be in place?
One method per answer, please. Vote up/down according to if you believe the given method should be allowed.
Functions may take input via a …
5y ago
Functions may use arguments or …
5y ago
You may output delimiter-separ …
5y ago
Functions may take multiple ar …
5y ago
Programs may take input from p …
5y ago
You may modify the input in-pl …
5y ago
Regexes may output via the lis …
5y ago
In languages without STDIN (eg …
5y ago
Command-line arguments may be …
5y ago
Turing machines supporting mul …
5y ago
Unless explicitly asking for e …
5y ago
Numerical I/O may be given as …
5y ago
Programs may output via exit c …
5y ago
Turing machines may use the co …
5y ago
Image output may be a pixel sh …
5y ago
Programs/functions may use the …
5y ago
Functions may return bools via …
5y ago
A program may use IOs for inpu …
3y ago
Empty output represents zero …
5mo ago
A program may output a boolean …
3y ago
Post
Empty output represents zero
Unless the challenge specifies that an output of zero must be represented as 0, an answer may give empty output for inputs that expect an output of zero.
Note that this must be an output that is empty (such as an empty array or an empty string) rather than giving no output.
The type of the empty output need not be the same as the type of the other outputs, unless the challenge specifies this.

0 comment threads