How to write a single-line password generator asks for a solution in "one line".
It seems to me that this is potentially a different class of challenge from code-golf, and for the nonce I've tagged it one-liner.
What say ye?
- Is this a different challenge?
- If so, how do we define "one line"? (Note that this will have to be sensitive to the differences between languages...)
- How does this interact with languages that prescribe a certain amount of scaffolding (like c requires
main
), or traditionally don't have a single command invocation from the command line?
int main(){int n=42;while(n--)std::cout<<"You've got a virus.\n";return(0);}
\$\endgroup\$