Talk:Guess the number/One-liner

From Rosetta Code

Vote for deletion

There is nothing added by this task that isn't already covered by Guess_the_number. Pointless restrictions on code formatting lead to obfuscation and code compression that Rosetta Code specifically discourages, and completely prevents some languages from participating; Piet and Fōrmulæ come to mind immediately. There is no restriction on line length, so the task is pretty much "Copy the program from Guess_the_number but take out all of the new-line characters." Vote for deletion. --Thundergnat (talk) 10:18, 8 August 2019 (UTC)

Agree totally. It's really inviting folks to rewrite the Guess_the_number task in 'code golf' style which is not something we want to encourage on RC.--PureFox (talk) 12:18, 8 August 2019 (UTC)
Same here.   Rosetta Code isn't the place for code golf contests.   What is the point of entering (almost) unreadable computer programs?     -- Gerard Schildberger (talk) 19:01, 8 August 2019 (UTC)
I agree, although if it was a task only for line-sensitive languages, it would be slightly more interesting - like the Calendar For Real Programmers Task, where the source must be in upper-case and so requires some sort of pre-processor for case-sensitive languages. --Tigerofdarkness (talk) 19:37, 8 August 2019 (UTC)


a small contribution with levity

/*rexx*/?=random(1,10);say 'guess my # from 1─►10';do j=1 until g=?;if j\=1 then say 'Try again.';pull g;end;say 'Well guessed!'
-- Gerard Schildberger (talk) 20:03, 8 August 2019 (UTC)     (with tongue firmly in cheek)