Click here to Skip to main content
15,886,664 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalsource code Pin
pei0825010321-Sep-12 15:51
pei0825010321-Sep-12 15:51 
GeneralRe: source code Pin
Richard MacCutchan21-Sep-12 21:13
mveRichard MacCutchan21-Sep-12 21:13 
QuestionWhat makes C and C++ a "good" language? Pin
Brandon-X1200018-Sep-12 16:06
Brandon-X1200018-Sep-12 16:06 
AnswerRe: What makes C and C++ a "good" language? PinPopular
Richard Andrew x6418-Sep-12 16:20
professionalRichard Andrew x6418-Sep-12 16:20 
AnswerRe: What makes C and C++ a "good" language? Pin
Chris Losinger18-Sep-12 16:37
professionalChris Losinger18-Sep-12 16:37 
AnswerRe: What makes C and C++ a "good" language? Pin
Stephen Hewitt18-Sep-12 18:46
Stephen Hewitt18-Sep-12 18:46 
AnswerRe: What makes C and C++ a "good" language? PinPopular
CPallini18-Sep-12 21:27
mveCPallini18-Sep-12 21:27 
AnswerRe: What makes C and C++ a "good" language? Pin
pasztorpisti19-Sep-12 2:47
pasztorpisti19-Sep-12 2:47 
The C and C++ languages are disastrous. They leave so many doors open for bugs and programming mistakes and they have other design failures (like header files that terribly slow down the compile time). The only valid reason for their existence is that most of today's libraries and operating systems are written using these languages. The interface of the majority of libraries and operating system APIs are still C based. Even if you try to replace these languages I think you need 3 different languages to build a whole operating system up on top of bare hardware. A minimal amount of assembly to communicate with hardware, a thin layer of relatively high level but unsafe language that allows for manual memory management in the low-level part of the operating system, and a high level safe language that can be used to write the top level of the operating system and the user programs. C/C++ could be something like the middle from these 3 languages but it would be easier to design a much better language than C/C++ with the same capabilities. Again, the only reason for the existence of C/C++ is massive amount of legacy code.

EDIT: This post of mine became quite 'popular', for this reason I would like to link one of my other posts that contains a more comprehensive (but not full) list of my reasonings at the end of this quite long debate: http://www.codeproject.com/Messages/4377527/Re-What-makes-C-and-Cplusplus-a-good-language.aspx[^]
Also would like to mention that I have extensive background in low level programming including assembly, C, and C++, reverse engineering and I'm not a 'just because'-type of hater of C/C++ who used only scripts and managed languages - I don't hate C/C++ at all. I respect these languages because they have been fun for me to program in, they helped the world to become better, but we have to see their obvious defects as well. Thanks for reading.

modified 25-Sep-12 8:47am.

GeneralRe: What makes C and C++ a "good" language? PinPopular
Richard MacCutchan19-Sep-12 4:03
mveRichard MacCutchan19-Sep-12 4:03 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti19-Sep-12 5:11
pasztorpisti19-Sep-12 5:11 
GeneralRe: What makes C and C++ a "good" language? Pin
Richard MacCutchan19-Sep-12 5:53
mveRichard MacCutchan19-Sep-12 5:53 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti19-Sep-12 6:13
pasztorpisti19-Sep-12 6:13 
GeneralRe: What makes C and C++ a "good" language? Pin
Richard MacCutchan19-Sep-12 6:22
mveRichard MacCutchan19-Sep-12 6:22 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti19-Sep-12 11:57
pasztorpisti19-Sep-12 11:57 
GeneralRe: What makes C and C++ a "good" language? PinPopular
cmk19-Sep-12 6:26
cmk19-Sep-12 6:26 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti19-Sep-12 12:14
pasztorpisti19-Sep-12 12:14 
GeneralRe: What makes C and C++ a "good" language? Pin
jschell20-Sep-12 8:40
jschell20-Sep-12 8:40 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti20-Sep-12 11:28
pasztorpisti20-Sep-12 11:28 
GeneralRe: What makes C and C++ a "good" language? Pin
jschell21-Sep-12 10:23
jschell21-Sep-12 10:23 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti21-Sep-12 11:04
pasztorpisti21-Sep-12 11:04 
GeneralRe: What makes C and C++ a "good" language? Pin
jschell22-Sep-12 8:14
jschell22-Sep-12 8:14 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti22-Sep-12 11:34
pasztorpisti22-Sep-12 11:34 
GeneralRe: What makes C and C++ a "good" language? Pin
jschell19-Sep-12 9:30
jschell19-Sep-12 9:30 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti19-Sep-12 11:59
pasztorpisti19-Sep-12 11:59 
GeneralRe: What makes C and C++ a "good" language? Pin
jschell20-Sep-12 8:32
jschell20-Sep-12 8:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.