Talk:Code Golf: Code Golf

From Rosetta Code
Revision as of 20:09, 9 December 2021 by Thebigh (talk | contribs) (thought so)

Does the description mean that the program is not to contain quotation marks, or just that the emitted string should not contain them? Thebigh (talk) 19:52, 9 December 2021 (UTC)

Well, I assumed that it must mean that the program should not contain any quotation marks (single or double) and, moreover, should end with an 'f'. Otherwise it would be as trivial (in Wren) as:

<lang ecmascript>System.write("Code Golf")</lang>.

Of course, it will still be trivial in some languages anyway (cf. Raku) though there are may others where it's difficult to avoid quotation marks when dealing with string or character literals. --PureFox (talk) 20:04, 9 December 2021 (UTC)
That's what I figured; either the task is basically just "Hello World", or it locks out languages where output requires quotation marks. I am not super enthusiastic about either alternative. Thebigh (talk) 20:08, 9 December 2021 (UTC)