Mail Archives: djgpp/1997/09/10/05:47:50
Erik Max Francis wrote:
>
> Richard Rensman wrote:
>
> > Answering "If you're going to do X often with language Y you might
> > consider using language Z" is perfectly valid here on
> > comp.os.msdos.djgpp, however. This is not a C language forum, and
> > djgpp
> > is not merely a C compiler.
>
> This is true. However, the question wasn't, "How do I do X in DJGPP?"
Yes it was.
"How do I do X in C, and C alone" is a question for comp.lang.c, where
it was crossposted to. As has been pointed out before, generic C
questions, for which a generic C answer is required, belong on
comp.lang.c or comp.lang.c.moderated.
Crossposting to comp.djgpp makes it by definition open with respect to
the djgpp programming platform. I agree comp.lang.c has become fouled up
with noise, and has a pitiful response ratio, but that does not make
comp.os.mdos.djgpp a replacement for it.
> It's one thing if you're asking to do something that is _impossible_ in
> the language in question. The question was about "functions in
> structs," and the answer is function pointers. As such there is a very
> clear and definite answer. No need to send the poster on false trails
> (false in that C++ is not necessary to achieve their goal, which is not
> what such an answer suggests).
You have every right to find the suggestion "Use C++" misleading, or
even downright wrong. That is your right, that is your considered
opinion, you are free to say that.
Just as the poster who suggested "Use C++" was giving his own opinion.
This is not comp.lang.c, there is nothing inappropriate about saying
that here, and there is no justification for flaming someone for leaving
particular language boundaries.
> > If you find yourself using C++ concepts in C more and more often it
> > might not be a bad idea to switch languages.
>
> Yes, it might not be. However, "functions in structs" doesn't
> necessarily immediately bring the conclusion that that is what is
> happening here. There's a lot more to object orientation than that.
C++ is not synonymous with object orientation, nor is C synonymous with
the lack of it. You should be smart enough to know that, Erik. A tool is
a tool. Don't jump to the conclusion that the only reason to use C++ in
a program is to go all gooey and object oriented.
--
------------ Elliott Oti ---------------
------------- http://www.fys.ruu.nl/~oti ---------
- Raw text -