Questions tagged [specification]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
71
votes
9answers
15k views

Interpretation of Truthy/Falsey

Quite a few code-golf questions require output to be "truthy or falsey". This is possibly confusing as these terms can possibly mean different things to different people, and especially in different ...
33
votes
8answers
5k views

Standard definitions of terms within specifications

Quite often I find that I am repeating myself when creating a challenge. For example, usually I have to retype the definition of "random" in all of my posts, or I have to specify the same thing about ...
19
votes
5answers
1k views

What's a string?

If a challenge says that input will be in the form of a string, what is acceptable? Various languages have different ways of implementing strings, so here's what I've "borrowed" from Wikipedia: ...
11
votes
3answers
433 views

How can we clearly define "Must work for theoretically large values"?

This doesn't seem immediately like an issue, but I've encountered it once in a challenge already, and recently again in a Sandboxed challenge, and is getting tiring to find the correct wording. For ...
8
votes
1answer
231 views

What are string literals?

Some questions like Significant Whitespace disallowed string literals. But what are string literals exactly? If I interpret this literally, almost everything in Bash or Tcl are string literals. For ...
4
votes
2answers
207 views

What counts as distinct and consistent?

There are some questions requiring distinct and consistent output. It's obvious what they mean for submissions printing to stdout. But how does that apply to the return values of functions? For ...
3
votes
0answers
76 views

What's a number? [duplicate]

Similar to What's a string? If a challenge says that the input will be “a number”, what data types are acceptable? Obviously, types like int and ...
1
vote
0answers
91 views

Can a specification define a language?

The current meta consensus is that the implementation defines the language. The cannonical answer is: What's the policy on interpreter bugs? I think this is too rigid: I think that a ...