Hyper Dictionary

English Dictionary Computer Dictionary Video Dictionary Thesaurus Dream Dictionary Medical Dictionary


Search Dictionary:  

Meaning of ONE-LINER WARS

 
Computing Dictionary
 
 Definition: 

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 <- iN

where "o" is the APL null character, the assignment arrow is a single character, and "i" represents the APL iota.

[jargon file]

 

 

COPYRIGHT © 2000-2013 HYPERDICTIONARY.COM HOME | ABOUT HYPERDICTIONARY