Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #803

Re: magic/absurd bash interpreter/compiler ?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news.misty.com!news.iecc.com!.POSTED!nerds-end
From Barry Margolin <barmar@alum.mit.edu>
Newsgroups comp.compilers, comp.unix.shell, comp.os.linux.misc
Subject Re: magic/absurd bash interpreter/compiler ?
Date Mon, 24 Dec 2012 20:48:25 -0500
Organization A noiseless patient Spider
Lines 21
Sender johnl@iecc.com
Approved comp.compilers@iecc.com
Message-ID <12-12-019@comp.compilers> (permalink)
References <12-12-014@comp.compilers> <12-12-018@comp.compilers>
NNTP-Posting-Host news.iecc.com
X-Trace leila.iecc.com 1356477380 60867 64.57.183.58 (25 Dec 2012 23:16:20 GMT)
X-Complaints-To abuse@iecc.com
NNTP-Posting-Date Tue, 25 Dec 2012 23:16:20 +0000 (UTC)
Keywords design, syntax
Posted-Date 25 Dec 2012 18:16:20 EST
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
Xref csiph.com comp.compilers:803 comp.unix.shell:6261 comp.os.linux.misc:6897

Cross-posted to 3 groups.

Show key headers only | View raw


In article <12-12-018@comp.compilers>, Eric <eric@deptj.eu> wrote:

> So many questions, on so many forums, are from people who expect the
> language they are learning to be just like one they have already learnt.
> The main thing that these people need to learn is to _not_ do that. You
> can probably achieve the same results with the new language, but probably
> not in an exactly analogous way.

Good point. I answered a question on Stack Overflow about PHP's $_POST
variable; variables like this are called superglobals in the PHP
documentation. The poster said that "superglobal" should mean that the
value is shared by all scripts, because his intuitive interpretation of
the term means that its scope should be wider than an ordinary global
variable. Never mind that this is not actually a common computer term,
the PHP designers coined it themselves to refer to their particular use
(these variables are "super" because they're automatically visible in
functions and methods, you don't have to use the "global" declaration).

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA

Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

magic/absurd bash interpreter/compiler ? Avoid9Pdf@gmail.com - 2012-12-23 11:04 +0000
  Re: magic/absurd bash interpreter/compiler ? J G Miller <miller@yoyo.ORG> - 2012-12-24 00:28 +0000
  Re: magic/absurd bash interpreter/compiler ? "Jonathan Thornburg" <jthorn@astro.indiana.edu> - 2012-12-24 03:57 +0000
  Re: magic/absurd bash interpreter/compiler ? Eric <eric@deptj.eu> - 2012-12-24 19:13 +0000
    Re: magic/absurd bash interpreter/compiler ? Barry Margolin <barmar@alum.mit.edu> - 2012-12-24 20:48 -0500
    Re: magic/absurd bash interpreter/compiler ? glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-12-25 03:25 +0000
      Re: magic/absurd bash interpreter/compiler ? Eric <eric@deptj.eu> - 2012-12-26 12:51 +0000
        Re: magic/absurd bash interpreter/compiler ? glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-12-28 03:17 +0000
          Re: magic/absurd bash interpreter/compiler ? Barry Margolin <barmar@alum.mit.edu> - 2012-12-28 10:25 -0500

csiph-web