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.
[wuhn-luhng] /ˈwʌnˌlʌŋ/ adjective 1. having or equipped with only one lung. 2. Slang. (of an engine, automobile, etc.) having only one cylinder.
[wuhn-luhng-er] /ˈwʌnˈlʌŋ ər/ noun, Slang. 1. a one-cylinder internal-combustion engine.
[wuhn-man] /ˈwʌnˌmæn/ adjective 1. of or relating to, or operated, performed, or used by one person: a one-man office; a one-man band. 2. preferring or seeking romantic involvement with one man only: a one-man woman. adjective 1. consisting of or done by or for one man: a one-man band, a one-man show
- One-man band
noun a businessperson who works alone noun phrase An enterprise, business, etc, controlled by one person: The company had previously been run as a ”one-man show” (entry form 1921+, variant 1938+)