Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Mar 2002 14:14:25 -0500
From:      "Kenneth Mays" <kmays2000@hotmail.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: C vs C++
Message-ID:  <LAW2-F74c21NgqJfhUb0000610d@hotmail.com>

next in thread | raw e-mail | index | archive | help
The quest continues...

Just another blurb...

The paradigm shift in all of this is what the theories and beliefs fabled 
around C++ have surmounted from debate after many years. C++ is an OO based 
language and falls under the reasoning of of use that other OO languages 
fall under. Not because its C++, but because it is an OO based language.

I used the reasoning that managers think C++ is easier to read and maintain 
not because that is in fact, but that it is SUPPOSED to be by design and 
reason. Meaning, you are meant to learn how to write modular and reusable 
code based on the OO principles of software engineering. Not that you will, 
but that you can. C++ is nothing more than a tool but you are suppose to 
follow guidelines and rules that are suppose to make your code more 
readable, elegant, stylish (ha!), and maintainable as well as reusable. Now, 
you can take this rhetoric for what you will but that was some of the old 
beliefs.

You can fight the cause by writing what needs to be written in C++, true 
C++, and showing code written in C only where it benefits but documented and 
written well (not "spaghetti-fied"). The gift of style and design is in the 
hands of the programmer (the toolmaster) and not really the code itself. 
That is the basics of software engineering over standard computer 
progamming.

C++ vs. C can be a political debate filled with fluff. I think once you 
understand that a hammer is a hammer for a reason instead of a brick or 
stone being a hammer (which they can be in a sense), then you understand the 
purposes for C++ and/or C. Just make a TRUE analysis of factual information 
of WHY C++ was created in the first place and what are its true benefits 
over C (documented in many literary programming books, even "C++ for 
Dummies") or why is C is better in other areas than using C++ (ask a game 
programmer). Start there and let your thumbs be your guide.

Ken M.



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LAW2-F74c21NgqJfhUb0000610d>