One-liner Program - History

History

The word One-liner has two references in the index of the book The AWK Programming Language (the book is often referred to by the abbreviation TAPL). It explains the programming language AWK, which is part of the Unix operating system. The authors explain the birth of the One-liner paradigm with their daily work on early Unix machines:

The 1977 version had only a few built-in variables and predefined functions. It was designed for writing short programs Our model was that an invocation would be one or two lines long, typed in and used immediately. Defaults were chosen to match this style We, being the authors, knew how the language was supposed to be used, and so we only wrote one-liners.

Notice that this original definition of a One-liner implies immediate execution of the program without any compilation. So, in a strict sense, only source code for interpreted languages qualifies as a One-liner. But this strict understanding of a One-liner was broadened in 1985 when the IOCCC introduced the category of Best One Liner for C, which is a compiled language.

Read more about this topic:  One-liner Program

Famous quotes containing the word history:

    Every member of the family of the future will be a producer of some kind and in some degree. The only one who will have the right of exemption will be the mother ...
    Ruth C. D. Havens, U.S. suffragist. As quoted in History of Woman Suffrage, vol. 4, ch. 13, by Susan B. Anthony and Ida Husted Harper (1902)

    Like their personal lives, women’s history is fragmented, interrupted; a shadow history of human beings whose existence has been shaped by the efforts and the demands of others.
    Elizabeth Janeway (b. 1913)

    The reverence for the Scriptures is an element of civilization, for thus has the history of the world been preserved, and is preserved.
    Ralph Waldo Emerson (1803–1882)