From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: Languages don't matter. A mathematical refutation Date: Fri, 03 Apr 2015 19:59:31 -0700 Organization: A noiseless patient Spider Message-ID: <87bnj47g4s.fsf@jester.gateway.sonic.net> References: <87h9t95cly.fsf@jester.gateway.sonic.net> <04f0759d-0377-4408-a141-6ad178f055ed@googlegroups.com> <871tk1z62n.fsf@theworld.com> <87pp7kyh2r.fsf@theworld.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="c694756f1077760bb5296aae16c74092"; logging-data="3751"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Nv5OzAuNYB5k2S1EChUyx" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:u9fZVd8D4Z/NPUs7ESohYI0Ffd8= sha1:bqcQ6tXt7rSnadQ8rRqt8/AZfMY= Xref: number.nntp.giganews.com comp.lang.ada:192717 Date: 2015-04-03T19:59:31-07:00 List-Id: Jeffrey Carter writes: > I can't accept as high level any language that requires, for a > subprogram to be able to modify a parameter, that the parameter must > be declared as a pointer and the caller must explicitly pass a > pointer. FORTRAN, Pascal, and Ada, to name a few, don't. C does. That's kind of a strange criterion. C is call-by-value so it has no way to modify parameters, though you can modify memory that's pointed to by a parameter. Haskell and Erlang have purely immutable data and no pointers, so it's impossible to modify anything: does that make them lower level than C?