[LRUG] [META] Can we talk about Ruby? EOM

Chris Parsons chris.p at rsons.org
Wed Jul 17 01:50:56 PDT 2013


On Wed, Jul 17, 2013 at 09:08:55am +0100, Mark Burns wrote:
>Is an empty file a quine in ruby?

Given that a quine is a program that prints it's own source code, then I 
would say only if an empty file is classed as a program.

I guess that that would depend on whether the language defines whether 
an empty file is valid (it is Ruby, therefore an empty file is a quine.)

Related: is the program the empty file itself, or the statements within 
it?

Chris



More information about the Chat mailing list