A puzzle - a program printing its own source
Posted
by mfeingold
on Stack Overflow
See other posts from Stack Overflow
or by mfeingold
Published on 2009-11-20T14:24:36Z
Indexed on
2010/05/06
9:18 UTC
Read the original article
Hit count: 229
quine
|rosetta-stone
Blast from the past. This is one of the puzzles from my early days:
Can you write a method (a function) which when called outputs its own source - literally including all the quotes, indentations, etc?
No cheating - no reading from a file
© Stack Overflow or respective owner