one-liner wars

Computing Dictionary

one-liner wars definition

games, programming
A game popular among hackers who code in the language APL (see write-only language and line noise). The objective is to see who can code the most interesting and/or useful routine in one line of operators chosen from APL's exceedingly hairy primitive set. A similar amusement was practiced among TECO hackers and is now popular among Perl aficionados.
Ken Iverson, the inventor of APL, has been credited with a one-liner that, given a number N, produces a list of the prime numbers from 1 to N inclusive. It looks like this:
(2 = 0 +.= T o.| T) / T where "o" is the APL null character, the assignment arrow is a single character, and "i" represents the APL iota.
[Jargon File]
(2000-03-19)
The Free On-line Dictionary of Computing, © Denis Howe 2010 http://foldoc.org
Cite This Source
Explore Dictionary.com
Previous Definition: one-liner
Next Definition: one-lung
Words Near: one-liner wars
More from Thesaurus.com
Synonyms and Antonyms for one-liner wars
More from Reference.com
Search for articles containing one-liner wars
More from Dictionary.com Translator
Dictionary.com Word FAQs

Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.

Copyright © 2014 Dictionary.com, LLC. All rights reserved.
  • Please Login or Sign Up to use the Recent Searches feature