Article View: comp.lang.misc
Article #936Re: Relationship between C and C++
From: Peter da Silva
Date: Thu, 22 Mar 1990 02:52
Date: Thu, 22 Mar 1990 02:52
18 lines
1300 bytes
1300 bytes
> Unrestrained pointers are the data structures equivalent of
> uncontrolled GOTOs. A language like C that lets you do anything
> in the world that you please with pointers is very similar to a
> language like BASIC that lets you arbitrarily jump to anyplace you
> want to in your code.
C *is* a language that allows you to jump anywhere you want in your code.
By using longjmp and goto you have nearly as much freedom as you do in
Basic (or, more, assembler). If only you could assign gotos, it'd be
perfect [1]. Think of it as a very portable very high-level assembler [2].
[1] Ever implemented an interpreter?
[2] Well, actually, that's Forth...
--
_--_|\ `-_-' Peter da Silva. +1 713 274 5180. <peter@ficc.uu.net>.
/ \ 'U`
\_.--._/
v
Technical Details
Message-ID:
<PBE2HGDficc@ficc.uu.net>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!mailrus!iuvax!rutgers!texbell!ficc!peterReferences:
<8432@hubcap.clemson.edu> <5200048@m.cs.uiuc.edu> <2605a117.396e@polyslo.CalPoly.EDU> <Mar.21.15.31.03.1990.11375@topaz.rutgers.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!mailrus!iuvax!rutgers!texbell!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.misc Subject: Re: Relationship between C and C++ Message-ID: <PBE2HGDficc@ficc.uu.net> Date: 22 Mar 90 02:52:01 GMT References: <8432@hubcap.clemson.edu> <5200048@m.cs.uiuc.edu> <2605a117.396e@polyslo.CalPoly.EDU> <Mar.21.15.31.03.1990.11375@topaz.rutgers.edu> Reply-To: peter@ficc.uu.net (Peter da Silva) Organization: Xenix Support, FICC Lines: 13