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:

    The whole history of civilisation is strewn with creeds and institutions which were invaluable at first, and deadly afterwards.
    Walter Bagehot (1826–1877)

    I believe that in the history of art and of thought there has always been at every living moment of culture a “will to renewal.” This is not the prerogative of the last decade only. All history is nothing but a succession of “crises”Mof rupture, repudiation and resistance.... When there is no “crisis,” there is stagnation, petrification and death. All thought, all art is aggressive.
    Eugène Ionesco (b. 1912)

    We may pretend that we’re basically moral people who make mistakes, but the whole of history proves otherwise.
    Terry Hands (b. 1941)