[LRUG] [META] Can we talk about Ruby? EOM
Murray Steele
murray.steele at gmail.com
Wed Jul 17 02:16:06 PDT 2013
Might it be one of those letter of the law, not spirit of the law things?
On 17 July 2013 09:50, Chris Parsons <chris.p at rsons.org> wrote:
> 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
> ______________________________**_________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/**listinfo.cgi/chat-lrug.org<http://lists.lrug.org/listinfo.cgi/chat-lrug.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20130717/869e7c34/attachment-0003.html>
More information about the Chat
mailing list