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

Reply via email to