🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #6018

Re: What makes a language successfu

#6018
From: Richard A. O'Keefe
Date: Thu, 15 Dec 1988 23:41
18 lines
1378 bytes
In article <2832@uhccux.uhcc.hawaii.edu> lee@uhccux.uhcc.hawaii.edu (Greg Lee) writes:
>From article <208100002@s.cs.uiuc.edu>, by carroll@s.cs.uiuc.edu:
>"I always thought that the 'no ; before END' part of PASCAL was one of the worst
>"'features' of the language.

It might have been, but there wasn't any such feature.

>There is a style of coding Pascal that gets around this:
[hairy layout deleted]

There is a much simpler style of coding Pascal that gets around the problem,
if you regard it as a problem:  GO AHEAD AND WRITE SEMICOLONS BEFORE ENDS.
Ever heard of empty statements?
	begin s1; s2; end
has an empty statement between the last semicolon and the end.  That's LEGAL.
It was legal in Algol 60 too, for the same reason.  The effect is that a
semicolon before an 'end' in Algol 60 and Pascal is *optional*.  This has
been widely commented on, and any good Pascal textbook should point it out.
Technical Details
Message-ID: <874@quintus.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!seismo!sundc!pitstop!sun!quintus!ok
References: <208100002@s.cs.uiuc.edu> <2832@uhccux.uhcc.hawaii.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!seismo!sundc!pitstop!sun!quintus!ok
From: ok@quintus.uucp (Richard A. O'Keefe)
Newsgroups: comp.lang.misc
Subject: Re: What makes a language successfu
Message-ID: <874@quintus.UUCP>
Date: 15 Dec 88 23:41:26 GMT
References: <208100002@s.cs.uiuc.edu> <2832@uhccux.uhcc.hawaii.edu>
Sender: news@quintus.UUCP
Reply-To: ok@quintus.UUCP (Richard A. O'Keefe)
Organization: Quintus Computer Systems, Inc.
Lines: 18