Questions tagged [specification]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11
votes
3answers
289 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 ...
3
votes
0answers
68 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
78 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 ...
5
votes
2answers
200 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 ...
8
votes
1answer
218 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 ...
19
votes
5answers
956 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: ...
66
votes
9answers
14k 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 ...