Harry R. Schwartz

Software engineer, nominal scientist, gentleman of the internet.
Member, ←Hotline Webring→.

bearded cartoon drawing of the author hacker news gitlab sourcehut pinboard librarything 1B41 8F2C 23DE DD9C 807E A74F 841B 3DAE 25AE 721B

Vancouver

British Columbia

Canada

vegan

he

him

his


Quines

Quines

Published .
Tags: computer-science, language, math, old-dead-white-guys.

Named after the American philosopher and logician W.V.O. Quine, a quine is a program whose only output is its own code. Here’s a neat example in Scheme, taken from the Wikipedia article:

((lambda (x) (list x (list 'quote x)))
'(lambda (x) (list x (list 'quote x))))

You might like these textually similar articles: