Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!bawden.eternal-september.org!.POSTED!not-for-mail From: Alan Bawden Newsgroups: comp.lang.lisp Subject: Re: Lisp history: IF, etc. Date: Fri, 12 Apr 2024 14:53:46 -0400 Organization: ITS Preservation Society Lines: 31 Message-ID: <867ch2o1j9.fsf@williamsburg.bawden.org> References: <86h6gjpq3i.fsf_-_@williamsburg.bawden.org> <86cyr6pb2l.fsf@williamsburg.bawden.org> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Fri, 12 Apr 2024 20:53:49 +0200 (CEST) Injection-Info: bawden.eternal-september.org; posting-host="2943696b51886b6b3fe84d4bdc506ea7"; logging-data="2650273"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BXaKp+OSUUBf/gHz1Q4GR" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:MUav6qJ4xUkON+HyB1+3+Bv0a7A= sha1:nTUSUYjoZ+wP3ZBcBKWxjB1PYiQ= Bytes: 2451 albert@spenarnc.xs4all.nl writes: In article <86cyr6pb2l.fsf@williamsburg.bawden.org>, Alan Bawden wrote: >Lisp doesn't really have statements _because_ McCarthy invented the >conditional expression. That's kind of the point. Other programming >languages at the time (e.g. FORTRAN and ALGOL) only had conditional >statements. McCarthy invented the conditional expression and thus >created the first expression-only programming language. It is a common mistake to refer to ALGOL simple. Algol60 and algol68 are different beast altogether. algol68 has conditional expressions: a := 'if' summer 'then' 40 'else' -10 'fi' ; and even a short hand: a:= (summer|40|-10); Actually Algol 60 _does_ have conditional expressions, it's Algol 58 that doesn't have them. As I wrote myself last week elsewhere in this thread: Ah yes, the history is slightly more complicated than I remembered. Algol 58 did not have conditional expressions. But McCarthy then joined the Algol committee and he suggested that they add conditional expressions. And so they do appear in Algol 60. And when I wrote "ALGOL" in the message you quoted, I had forgtten about Algol 58 entirely... - Alan