Re: Is necessary to switch to C++ or some object-oriented language?
- From: "J. J. Farrell" <jjf@xxxxxxxxxx>
- Date: 23 Mar 2007 17:01:36 -0700
On Mar 23, 3:09 am, r...@xxxxxxxxxxxxxxxxxxxxxx (Richard Bos) wrote:
"J. J. Farrell" <j...@xxxxxxxxxx> wrote:
On Mar 22, 11:48 am, "user923005" <dcor...@xxxxxxxxx> wrote:
On Mar 21, 7:16 pm, "J. J. Farrell" <j...@xxxxxxxxxx> wrote:
On Mar 21, 2:14 pm, "user923005" <dcor...@xxxxxxxxx> wrote:
I suppose it hinges on what you consider "minor", but please specify
why you consider this claim to be false. It's very rare for programs
to need to call main() recursively, or to care about the type of a
charater constant, for example. The need to cast void * to other
object pointer types is slightly more intrusive, but I'd still
consider it minor. Which are the non-minor exceptions?
Take this tarball:http://wwwmaster.postgresql.org/download/mirrors-ftp?file=%2Fsource%2...
Which is the PostgreSQL database (written in the C language).
Rename all of the .c files to .cpp and try to compile it.
Basically none of the files will compile.
I don't see how that's relevant to the question. If the minor
exceptions are widely used, there'll obviously be problems compiling.
If they're widely used, I wouldn't call them minor. Some people would
say that the differences between a monkey's genome and a human's are
minor; but the differences between the resulting money and human
definitely aren't.
You're confusing the differences with their impacts. The exceptions
are few and minor, but that shouldn't be taken to imply that they have
little impact. The difference between driving on the left and driving
on the right is minor; the effect of ignoring the difference is not.
.
- References:
- Is necessary to switch to C++ or some object-oriented language?
- From: ajba74
- Re: Is necessary to switch to C++ or some object-oriented language?
- From: arnuld
- Re: Is necessary to switch to C++ or some object-oriented language?
- From: Roland Pibinger
- Re: Is necessary to switch to C++ or some object-oriented language?
- From: user923005
- Re: Is necessary to switch to C++ or some object-oriented language?
- From: J. J. Farrell
- Re: Is necessary to switch to C++ or some object-oriented language?
- From: user923005
- Re: Is necessary to switch to C++ or some object-oriented language?
- From: J. J. Farrell
- Re: Is necessary to switch to C++ or some object-oriented language?
- From: Richard Bos
- Is necessary to switch to C++ or some object-oriented language?
- Prev by Date: Re: About Memory Allocation and function calls
- Next by Date: Re: Casting to unsigned char for isupper() and friends
- Previous by thread: Re: Is necessary to switch to C++ or some object-oriented language?
- Next by thread: Re: Is necessary to switch to C++ or some object-oriented language?
- Index(es):
Relevant Pages
|
|