🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #12

Re: Robots...

#12
From: Stephen Spackman
Date: Wed, 28 Oct 1992 13:22
30 lines
2364 bytes
In article <1992Oct27.143849.26947@texhrc.uucp> pyeatt@Texaco.com (Larry D. Pyeatt) writes:
|I would not classify C and Pascal as very nearly the same thing.  C does
|almost no type checking, does not have the set type, only handles arrays
|between 0 and N, performs almost no run-time checking, passes parameters 
|differently, allows variable length parameter lists, cannot nest functions,
|has a more flexible FOR statement...  

I don't know; both languages provide optional, inadequate type checking;
both languages have completely implementation-oriented type systems;
both provide small amounts of syntactic sugar for bitmaps (sets or bit
arithmetic, who cares? Neither has sets of integers, e.g.); both use
strange hacks to get variable-length parameter lists (Pascal's is
reserved to the implementation, but it's there sure enough); both lack
proper function values; both provide explicit pointer values; both
place the burden of storage management on the user; both have really
stupid type declaration syntax.

Probably the most substantial difference between them is that C permits
variable initialisers.

|You could say that Pascal and Modula-2 are very nearly the same, but C
|has very little in common with Pascal other than that they both can
|be called ``block structured'' languages.

They're both Algol 68 downgrades. It's hard to find languages that are
more similar without actually being direct descendants, one of the
other.
------------------------------------------------------------------------
stephen p spackman                                       stephen@acm.org
------------------------------------------------------------------------
Technical Details
Message-ID: <SPACKMAN.92Oct28142448@disco-sol.dfki.uni-sb.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!sbsvax!coli-gate.coli.uni-sb.de!coli-gate.coli.uni-sb.de!spackman
References: <1992Oct18.131021.1165@kth.se> <1992Oct26.093822.24610@thunder.mcrcim.mcgill.edu> <1992Oct27.143849.26947@texhrc.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!sbsvax!coli-gate.coli.uni-sb.de!coli-gate.coli.uni-sb.de!spackman
From: spackman@disco-sol.dfki.uni-sb.de (Stephen Spackman)
Newsgroups: comp.lang.misc
Subject: Re: Robots...
Message-ID: <SPACKMAN.92Oct28142448@disco-sol.dfki.uni-sb.de>
Date: 28 Oct 92 13:22:19 GMT
References: <1992Oct18.131021.1165@kth.se>
 <1992Oct26.093822.24610@thunder.mcrcim.mcgill.edu>
 <1992Oct27.143849.26947@texhrc.uucp>
Sender: news@coli.uni-sb.de (Usenet news system)
Reply-To: stephen@acm.org
Organization: DFKI Saarbruecken GmbH, D-W 6600 Saarbruecken
Lines: 30
In-Reply-To: pyeatt@Texaco.com's message of 27 Oct 92 14: 38:49 GMT