RE: Re: Re: Optional args in C code.

"Michael Geary" <[email protected]> Mon, 3 May 2004 16:22:54 -0700
Newsgroups gmane.comp.lang.prothon.devel
Message-ID <[email protected]>
> What C compiler lets you declare vars in the middle of
> code? I've never seen such a thing.  While that's a really
> cool feature, we are restricting the code to ansii C and
> our compilers choke on that.  I'm almost done fixing
> your submission, but in the future please restrict your
> code to ansii C also.  Maybe there's an option in your
> compiler for that?

Mark, this reminds me that I've been meaning to ask: Why did you choose C
instead of C++? I know I would have been sorely tempted to use C++ for its
convenience and the way it can help you write reliable code more easily
(destructors, etc.).

I'm not doubting your choice, just curious about what the deciding factors
were. Was it mostly because C is more widely portable?

Thanks!

-Mike