The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Rob Pike <robpike@gmail.com>
To: Clem Cole <clemc@ccc.com>
Cc: The Eunuchs Hysterical Society <tuhs@tuhs.org>
Subject: Re: [TUHS] where did "main" come from?
Date: Sat, 23 May 2020 08:00:06 +1000	[thread overview]
Message-ID: <CAKzdPgxkR+NE-O=RrJ5tcYfFtrxCV9hdDN+k6G6dEydKH7PqUg@mail.gmail.com> (raw)
In-Reply-To: <CAC20D2PiMiFAw2aFx7Z88vc6npyzD1px9NLvUzFpEUz1HKTZMQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 473 bytes --]

After joining the Labs I mentioned to Dennis that the idea of "main" did
not appear in the semi-formal specification of C in the back of the first
edition of The C Programming Language. (It obviously appears in the front
half.) He was very surprised, but maybe it's an indication that the idea of
"main" was already part of the culture. I first encountered it in the
phrase PROCEDURE OPTIONS MAIN that begins every PL/I program. PL/I was
defined in the early 1960's.

-rob

[-- Attachment #2: Type: text/html, Size: 563 bytes --]

  reply	other threads:[~2020-05-22 22:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-22 18:43 Lawrence Stewart
2020-05-22 20:01 ` Michael Kjörling
2020-05-22 21:52 ` Clem Cole
2020-05-22 22:00   ` Rob Pike [this message]
2020-05-22 23:33   ` Toby Thain
2020-05-22 23:58     ` Win Treese
2020-05-22 22:08 ` Charles Anthony

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKzdPgxkR+NE-O=RrJ5tcYfFtrxCV9hdDN+k6G6dEydKH7PqUg@mail.gmail.com' \
    --to=robpike@gmail.com \
    --cc=clemc@ccc.com \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).