Y
Hacker News
new
|
ask
|
show
|
jobs
by
ilyagr
1370 days ago
Yeah. I wish the article talked about "the most boring nonempty quine".
3 comments
yesenadam
1370 days ago
Probably anyone reading this thread knows about this already :-) but that's like the
https://en.wikipedia.org/wiki/Interesting_number_paradox
link
askvictor
1370 days ago
Maybe the empty quine is not boring by virtue of the fact it's not like all of the other quines.
link
ilyagr
1366 days ago
2 is the odd prime for the same reason.
link
MitPitt
1370 days ago
a non-empty quine in python would be `"hello world"`
link
chrisshroba
1370 days ago
Just writing a string in a python doesn’t output that string to stdout
link
MitPitt
1370 days ago
yes it does
link
chrisshroba
1368 days ago
$ ~ echo '"Hello world"' > quine.py $ ~ cat quine.py "Hello world" $ ~ python quine.py $ ~
link