I wouldn't say C++ is THAT much harder to write, it does have a steeper
initial learning curve than C. Most of that is due to needing to learn OOP
at the same time. It is easier for C++ to come back and bite you than C if
you don't spend enough time up front in design.  IMO the biggest problem is
people trying to treat C and C++ as one language. That is only good is you
want to use C++ and as a better C compiler for the lint like features of C++
language.

Steve B.


----- Original Message -----
From: "Kenneth Culver" <[EMAIL PROTECTED]>
To: "Terry Lambert" <[EMAIL PROTECTED]>
Cc: "Steve B." <[EMAIL PROTECTED]>; "Eugene L. Vorokov"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 10:25 AM
Subject: Re: C vs C++


> Why are you being so sarcastic? Everyone here is assuming that it's harder
> to write C++ code, so you should only use it if necessary. It isn't
> necessary to use it for something like a daemon.
>
> Ken
>
> On Tue, 5 Mar 2002, Terry Lambert wrote:
>
> > "Steve B." wrote:
> > > I take a simplistic view after years of C++.
> > >
> > > C++ is good for large projects that need to be maintained into the
future.
> > > Then the advantages of OO starts to kick in. For small projects that
won't
> > > change much then C is the better choice IMO.
> >
> > Wow.  Forgot this disadvantage of C++, too.
> >
> > Yeah, it's difficult to write code that someone else
> > couldn't come in and maintain after it was done.  This
> > means that the normal rules about "write important code
> > and you have a job forever" no longer apply.  8-(.
> >
> > -- Terry
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-hackers" in the body of the message
> >
> >
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to