What Makes C++ An Attractive Language?
-
After all of the comments I've received from my last thread[^], I've decided that I need to rethink my topic. I hope that everyone doesn't mind my doing this -- a web search on such issues produces a whole lot of useless garbage. Anyway, the new topic open for discussion is: As software engineers and the like, what makes C++ such an attractive language to you, and under what circumstances do you find it to be a burden? Again, I'm curious to hear what you guys have to say and if there are any articles out there that you know of that discuss the pros and cons of the language. Thanks to everyone that responded to my last thread and provided me with info on Java vs C++.
-Michael Anderson-
完全な円Sparticus wrote: As software engineers and the like, what makes C++ such an attractive language to you, and under what circumstances do you find it to be a burden? The beauty of C and C++ to me is that is is virtually a high end assembly language. There is nothing hidden, there are no areas that say "Here Be Dragons" and are walled off to the programmer. Any feature that in your opinion is missing can be added because you have access to low level primitives. In MS C++ the _asm directive is a gateway to really drop down and do what you want. The burden is the learning curve, the plethora of classes, API calls, structures that you have to keep at least aware of - and conversant in many of them. Also things like heap allocation vs stack allocation, pointers vs smart pointers, casts , the ability to pass pointers to functions,overuse of the void type, make others code sometimes hard to decipher. Richard When I reflect upon the number of disagreeable people who I know have gone to better world, I am moved to lead a different life. Mark Twain- Pudd'nhead Wilson's Calendar