Re: private functions



Eric Sosman <esosman@xxxxxxxxxxxxxxxxxxxx> writes:

Richard wrote:
Eric Sosman <esosman@xxxxxxxxxxxxxxxxxxxx> writes:

Richard wrote:
"Joachim Schmitz" <nospam.jojo@xxxxxxxxxxxxxxxxxx> writes:

Ronald Bruck wrote:
Sigh. It's been awhile since I've programmed in C, but I'm SURE that
you can have a function whose scope is purely within another function.
You simply can't do this in C.
Nonsense. Of course you can do this in C. Non "standard" extensions are
still "C" I am afraid.
Nonsense. And if you're afraid, cower.

So people using nested functions are not writing C?

No, no more than those who write `GOTO 10' are writing C.

Don't be so ridiculous.

Don't be daft.

Oh, and tell IBM.

http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=/com.ibm.xlcpp8l.doc/language/ref/nested_functions.htm

Quoting from the above: "The language feature is an
extension to C89 and C99, implemented to facilitate porting
programs developed with GNU C."

I realise from your posting history that you like to be picky and
obstructive, but I am afraid they ARE writing C. It might not be "ISO
compliant C" (or whatever) but it is still C.

So Gnu supports them. IBM compilers them. Hey! Ring them up and tell
them it is "not C". It is C. Their C. Live with it.


.



Relevant Pages

  • Re: that old GNU/Linux argument
    ... to help extend to others the freedoms they worked ... hard to give you, by writing this very software, and laying the ground ... Linux" or "Linux is shorter and more convenient". ... It took a lot of work to write all this GNU software, ...
    (Fedora)
  • Why are professionals/businesses afraid of e-mail?
    ... I have noticed businesses are afraid to ... Putting your words in writing helps communicate what you mean. ... have a problem with responsibility, if they want to talk over the ...
    (sci.med.cardiology)
  • Why are professionals/businesses afraid of e-mail?
    ... I have noticed businesses are afraid to ... Putting your words in writing helps communicate what you mean. ... have a problem with responsibility, if they want to talk over the ...
    (sci.med.dentistry)
  • Re: WHO WANTS MORE MLU?????
    ... fuck. ... writing the 11th ed rules. ... I'm afraid that you're getting rather desparate. ...
    (rec.sport.disc)
  • Re: All about John
    ... I'm only writing this as a goodbye because after all the years of ... physical abuse, I'm afraid you'll beat me again. ... The bombshell you dropped on me about your being gay, ...
    (misc.fitness.weights)