Difference between revisions 19727956 and 23712980 on enwiki{{wrongtitle|title=HQ9+}} '''HQ9+''' is a [[joke programming language]] created by [[Cliff Biffle]] that consists of only four [[command (computing)|commands]], each represented by a single character: H, Q, 9, and +. It is not [[Turing-complete]], but it is highly efficient at certain types of [[computer program|programs]]. * The H command prints out [[Hello world program|"Hello, world!"]] * The Q command prints out a copy of the [[source code]] of the program (i.e., it's a [[quine]]). * The 9 command prints out the lyrics for [[99 Bottles of Beer|99 Bottles of Beer on the Wall]]. * The + command increments the [[Accumulator (computing)|accumulator]]. An example '''HQ9+''' program would be: "HHQ+HQ++" This program would output "Hello, world! Hello, world! HHQ+HQ++ Hello, world! HHQ+HQ++" as well as incrementing the [[accumulator]] three times. It is claimed that all useful programs written in HQ9+ run over twice as fast as the same programs written in any other language. Since no useful programs can be written in HQ9+, this is [[vacuous truth|vacuously true]]. (contracted; show full)*[http://www.dangermouse.net/esoteric/hq9plusplus.html HQ9++] *[http://www.dangermouse.net/esoteric/ DM's Esoteric Programming Languages] [[Category:Esoteric programming languages]] [[es:HQ9 más]] [[ko:HQ9 플러스]] [[it:Hq9plus]] All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://en.wikipedia.org/w/index.php?diff=prev&oldid=23712980.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|