0
\$\begingroup\$

PCG no longer permits code-trolling, but there is another category called underhanded, of which the tag wiki currently reads:

An underhanded challenge is a challenge to write a program that looks as if it is doing one thing, but does something else. For example, a program that outputs the digits of pi up until the 100th decimal place, when it does something else, might be underhanded if it conceals its doing so.

Some discussion was raised at my post on a buggy hello world as to whether this should be closed/downvoted for being a code-trolling question. What is the difference between underhanded and code-trolling?

\$\endgroup\$
1
  • \$\begingroup\$ To answer your specific question, underhanded as a concept is a lot more generic in that you don't necessarily have to write code to "troll" the user - you just have to accomplish something that is not obvious from reading the code. At the same time, a good underhanded question should be a lot more specific (giving a very clear spec of what to hide and what the could should seem to be) than code trolling, which only derailed into "write any code whatsoever as long as it has something to do with X". \$\endgroup\$ – Martin Ender Jun 1 '14 at 21:59

Browse other questions tagged .