🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #3455

RE: Formal definitions (Re: ada-c++ productivity)

#3455
From: cs450a03
Date: Thu, 11 Apr 1991 19:21
32 lines
1520 bytes
>Programming languages, at least imperative languages, are constructed
>from statements, which say "do this, then this, etc.".  They don't
>say "achieve this goal", which is really the purpose of running a
>program.

eh?  imperative programming languages don't say "achieve this goal" ?

huh?

that's flat out contradictory.

I mean, if I say "sort this list" that's the sort of thing that an
imperative language does.  That's an equivalent statement to "make
this list sorted".

Maybe you don't like the levels of abstraction available to you in
some imperative languages?

>  [example of navigating city streets]

It is perfectly valid imperative programming practice to say things
like:

    move such-and-such (distance, direction)
    locate blah-de-blah (landmark)
    move ...
    locate ...

Which it seems to me you are claiming can only be done in proofs.

Raul Rockwell
Technical Details
Message-ID: <11APR91.19210188@uc780.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven!ni.umd.edu!uc780.umd.edu!cs450a03
References: <1755@optima.cs.arizona.edu> <1991Apr11.214018.19443@watmath.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven!ni.umd.edu!uc780.umd.edu!cs450a03
From: cs450a03@uc780.umd.edu
Newsgroups: comp.lang.misc
Subject: RE: Formal definitions (Re: ada-c++ productivity)
Message-ID: <11APR91.19210188@uc780.umd.edu>
Date: 11 Apr 91 19:21:01 GMT
References: <1755@optima.cs.arizona.edu> <1991Apr11.214018.19443@watmath.waterloo.edu>
Sender: usenet@ni.umd.edu (USENET News System)
Organization: The University of Maryland University College
Lines: 32
Nntp-Posting-Host: uc780.umd.edu