Letter O Considered Harmful.

The machines we love to hate

Moderator: Wiz Feinberg

User avatar
b0b
Posts: 29079
Joined: 4 Aug 1998 11:00 pm
Location: Cloverdale, CA, USA

Letter O Considered Harmful.

Post by b0b »

I've already eliminated it from my name. :mrgreen:
"Letter O considered harmful"

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".
-๐•“๐•†๐•“- (admin) - Robert P. Lee - Recordings - Breathe - D6th - Video
User avatar
Wiz Feinberg
Posts: 6113
Joined: 8 Jan 1999 1:01 am
Location: Mid-Michigan, USA

Post by Wiz Feinberg »

O!
"Wiz" Feinberg, Moderator SGF Computers Forum
Security Consultant
Twitter: @Wizcrafts
Main web pages: Wiztunes Steel Guitar website | Wiz's Security Blog | My Webmaster Services | Wiz's Security Blog
User avatar
Jeff Garden
Posts: 3655
Joined: 21 Aug 2003 12:01 am
Location: Center Sandwich, New Hampshire, USA

Post by Jeff Garden »

Was adding the colon to the approved list of lexical characters the result of a colon-oscopy?
User avatar
Jack Stoner
Posts: 22146
Joined: 3 Dec 1999 1:01 am
Location: Kansas City, MO

Post by Jack Stoner »

Typical contradictory statement or issue. If the letter "o" is bad, why did they name it "Fortran"?

When I first started programming, at NASA, I used Octal machine language, on a (PCM)Telemetry Processor that the tracking stations used for the Apollo project. It was three 6 ft high racks of equipment and had a 4K core memory and a paper tape reader to load programs with.
User avatar
Wiz Feinberg
Posts: 6113
Joined: 8 Jan 1999 1:01 am
Location: Mid-Michigan, USA

Post by Wiz Feinberg »

I used to write DOS batch files and I frequently used the "goto" command to jump to another section based on an outcome. I'm glad the O was not removed.
"Wiz" Feinberg, Moderator SGF Computers Forum
Security Consultant
Twitter: @Wizcrafts
Main web pages: Wiztunes Steel Guitar website | Wiz's Security Blog | My Webmaster Services | Wiz's Security Blog