Hacker News new | ask | show | jobs
by ilyagr 1206 days ago
Yeah. I wish the article talked about "the most boring nonempty quine".
3 comments

Probably anyone reading this thread knows about this already :-) but that's like the https://en.wikipedia.org/wiki/Interesting_number_paradox
Maybe the empty quine is not boring by virtue of the fact it's not like all of the other quines.
2 is the odd prime for the same reason.
a non-empty quine in python would be `"hello world"`
Just writing a string in a python doesn’t output that string to stdout
yes it does

     $ ~ echo '"Hello world"' > quine.py
     $ ~ cat quine.py
     "Hello world"
     $ ~ python quine.py
     $ ~