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.

Second is size, C will generate smaller executables.  C++ to do its things
adds overhead that increases the size of the object files.


Steve B.

----- Original Message -----
From: "Eugene L. Vorokov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 6:07 AM
Subject: C vs C++


> Hello,
>
> I have a small problem. I work for software development company and
> write daemons and console tools for Unix. My boss wants everything
> to be written in C++, because he thinks C++ is cool. I prefer C
> for such tasks, but I cannot really put good arguments of why and
> where C++ can be worse than C. I know many of you prefer C too.
> Can you please explain some disadvantages of C++ comparing to C ?
> Is it slower, does it produce less effective code, why is it like
> that, etc ... or please direct me to some articles where this can
> be explained.
>
> I apologize for the offtopic whenever it happens, but this issue
> really pisses me off now.
>
> Regards,
> Eugene
>
>
> 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