A quine is a computer program which takes no input and produces a copy of its own source code as its only output.
How about a fun challenge?
The task is to write a quine in InterSystems ObjectScript. It can be a class, or a method, or a routine, or just a line to be executed in a terminal. You decide!
Here's some resources you might consider useful:
Hard mode: do not use source code access functions.
Here's my (extremely uninspired, I know) attempt:
/// do ##class(User.Quine).Test()
set sc = ##class(%Compiler.UDL.TextServices).GetTextAsString($namespace, $classname(), .str)
It produces this output:
How many different ways of producing a quine are there in ObjectScript?