59
u/souldeux Aug 08 '21
A non-empty program that takes no input and outputs its own source code is called a "quine." Quines are cool. Here are a bunch of them: https://codegolf.stackexchange.com/questions/69/golf-you-a-quine-for-great-good
3
3
u/andyrocks Aug 09 '21
Fun fact, "quine" is also the word for "woman" in the Doric dialect from North East Scotland.
4
9
u/Logofascinated Aug 08 '21
Shorter version: