‘Hard to specify’

Showing only ideas leading to #5380.

See full discussion​·​See most recent related ideas
  Log in or sign up to participate in this discussion.
With an account, you can revise, criticize, and comment on ideas.

Discussions can branch out indefinitely. You may need to scroll sideways.
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#5376​·​
Only version leading to #5380 (4 total)

I read “two strings” literally. The strings are the only case-specific inputs. A fact read from a database, sensor, or anywhere else is another input, whether or not it appears in the function signature.

No function of those two strings can always provide such a ranking.

The bounty says the code must accept two strings as input. It doesn’t say only or at most or exactly two. But I see now that this may not have been clear – if you think it’ll help, I can edit the bounty to say ‘at least two’.

Also, when I wrote the bounty, I meant input as in ‘part of the function signature’. If the function body later reads from a database or prompts the user for input, that doesn’t in and of itself disqualify the submission.

CriticismCriticized2*
Dennis Hackethal’s avatar
Dennis HackethalOP​·​#5380​·​

Superseded by #5379. This comment was generated automatically.

Criticism of #5376