Humor
During the same Fortran Standards Committee meeting at which the name "FORTRAN 77" was chosen, a technical proposal was incorporated into the official distribution, bearing the title, "Letter O considered harmful". This proposal purported to address the confusion that sometimes arises between the letter "O" and the numeral zero, by eliminating the letter from allowable variable names. However, the method proposed was to eliminate the letter from the character set entirely (thereby retaining 48 as the number of lexical characters, which the colon had increased to 49). This was considered beneficial in that it would promote structured programming, by making it impossible to use the notorious GO TO
statement as before. (Troublesome FORMAT
statements would also be eliminated.) It was noted that this "might invalidate some existing programs" but that most of these "probably were non-conforming, anyway".
During the standards committee battle over whether the "minimum trip count" for the FORTRAN 77 DO
statement should be zero (allowing no execution of the block) or one (the "plunge-ahead" DO
), another facetious alternative was proposed (by Loren Meissner) to have the minimum trip be two—since there is no need for a loop if it is only executed once.
Read more about this topic: Fortran
Famous quotes containing the word humor:
“There is also this benefit in brag, that the speaker is unconsciously expressing his own ideal. Humor him by all means, draw it all out, and hold him to it.”
—Ralph Waldo Emerson (18031882)
“Everything human is pathetic. The secret source of Humor itself is not joy but sorrow. There is no humor in heaven.”
—Mark Twain [Samuel Langhorne Clemens] (18351910)
“Was ever woman in this humor wooed?
Was ever woman in this humor won?”
—William Shakespeare (15641616)