Shortest quine in D

Jon Degenhardt via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 26 17:15:32 PDT 2017


On Wednesday, 26 April 2017 at 23:19:32 UTC, H. S. Teoh wrote:
> ------hello.d:------
> import std.stdio;void main(){write(import("hello.d"));}
> --------------------
>
> Thanks to string imports, quines in D are actually trivial. :-D
>
>
> T

:)  
https://en.wikipedia.org/wiki/Quine_(computing)#.22Cheating.22_quines


More information about the Digitalmars-d mailing list