C's syntax (was Re: Python Formatted C Converter (PfCC))
Grant Griffin
not.this at seebelow.org
Sat Oct 28 15:21:19 EDT 2000
Christian Tanzer wrote:
>
> Erik Max Francis <max at alcyone.com> wrote:
>
> > > or
> > > foo* bar, baz; /* NOT two pointers... */
> >
> > That's a programmer error. In declaring pointers, the * is a declarator
> > and binds to the variable, not the type. That's why coding styles such
> > as writing `int* p' end up only causing problems, because they imply
> > that the * binds to the type when it does not.
>
> It's a programmer error in the same sense as Three Mile Island was an
> operator error (as was the Therac 25 and countless plane crashes).
> In Three Mile Island some very important instruments were located at
> the back of the operator consoles...
I saw another problem with nuclear power plants on "The Simpsons". One
time, Homer was leaning back in his chair, snoozing away in front of the
console. Suddenly, the boss came in, and Homer snapped awake. In a
panic to look busy, he suddenly started pushing buttons at random.
is-it-too-late-for-a-programming-language-named-'homer'?-ly y'rs,
=g2
--
_____________________________________________________________________
Grant R. Griffin g2 at dspguru.com
Publisher of dspGuru http://www.dspguru.com
Iowegian International Corporation http://www.iowegian.com
More information about the Python-list
mailing list