Questions tagged [specification]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
44 views

Do programs need to take input, if it is in the spec? [duplicate]

Recently, there have been some challenges involving the OEIS. Specifically, when given an index as input, the challenge spec involves output the item in the OEIS at that index. However, for constant ...
1
vote
0answers
75 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
195 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
213 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
920 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: ...
65
votes
9answers
13k 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 ...