Click here to Skip to main content
15,890,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti20-Sep-12 11:48
pasztorpisti20-Sep-12 11:48 
GeneralRe: What makes C and C++ a "good" language? Pin
jschell21-Sep-12 10:21
jschell21-Sep-12 10:21 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti21-Sep-12 12:00
pasztorpisti21-Sep-12 12:00 
jschell wrote:
Based on that then C/C++ will never cease to exist because there is no expectation that either or both of those OSes will cease to exist.

Good point. Thats why I think that llvm is a great invention and a beam of hope. Its a nice thing that can glue languages together and its already good enough to compete with gcc that is a monster codebase compared to llvm.
jschell wrote:
Nope. If that was the case then Java/C# would have taken over.

Despite the nice design and universality of the packages of these languages they far not cover as many areas as C/C++ libraries and they often don't cover native OS specific staff whose api is also in C. Fortunately they are often well suited for all kinds of enterprise problems where it would be a guilt to choose other languages.
jschell wrote:
No. I was specifically using the example of when C++ became widely known and C (not C++) was the predominant language. C++ rapidly gained market share. Yet C did then and still does retain a significant market share.

This demonstrates that there is a shift when the market sees a better language come along DESPITE the extensive code base. It also demonstrates that C still finds and audience because it is still used. Thus it STILL provides a benefit that developers can appreciate.

A lot of factors are involved when you have to decide which language is the nearest to the theoritical domain specific dream language (+libs) to solve the actual problem. If you have to decide for example between C and C++ you are already in trouble because most of the problems are just in between. The libraries are shared between these languages but C++ is a messy language overwhelmed with freature redundancy while C is much simpler but misses some really nice features that make development much efficient and manageable. For this simple reason I always choose C++ because I already know which features to use and which ones to avoid but many C coders don't want to bother with learning the feature mass and the freestyle of C++. Without backward compatiblity it would be so easy to put together an extended-repaired C and cleaned C++, and even a good devenv, but what about library support? Thats the only thing that keeps me back from wasting my time on starting a battle I hardly win. Maybe in my older years as a hobby project when I will have less todos because its definitely fun to mess with languages even if the results go the the dustbin... Smile | :) With llvm its relatively easy to experiment compared to the older times.
GeneralRe: What makes C and C++ a "good" language? Pin
jschell22-Sep-12 8:37
jschell22-Sep-12 8:37 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti22-Sep-12 11:28
pasztorpisti22-Sep-12 11:28 
GeneralRe: What makes C and C++ a "good" language? Pin
jschell23-Sep-12 7:53
jschell23-Sep-12 7:53 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti23-Sep-12 7:59
pasztorpisti23-Sep-12 7:59 
GeneralRe: What makes C and C++ a "good" language? Pin
jschell24-Sep-12 12:34
jschell24-Sep-12 12:34 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti24-Sep-12 15:14
pasztorpisti24-Sep-12 15:14 
GeneralRe: What makes C and C++ a "good" language? Pin
ErnestoNet25-Sep-12 7:40
ErnestoNet25-Sep-12 7:40 
GeneralRe: What makes C and C++ a "good" language? Pin
jschell25-Sep-12 8:12
jschell25-Sep-12 8:12 
GeneralRe: What makes C and C++ a "good" language? Pin
ErnestoNet25-Sep-12 8:41
ErnestoNet25-Sep-12 8:41 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti25-Sep-12 8:20
pasztorpisti25-Sep-12 8:20 
GeneralRe: What makes C and C++ a "good" language? Pin
ErnestoNet25-Sep-12 8:27
ErnestoNet25-Sep-12 8:27 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti25-Sep-12 12:29
pasztorpisti25-Sep-12 12:29 
GeneralRe: What makes C and C++ a "good" language? Pin
ErnestoNet25-Sep-12 13:29
ErnestoNet25-Sep-12 13:29 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti25-Sep-12 13:46
pasztorpisti25-Sep-12 13:46 
GeneralRe: What makes C and C++ a "good" language? Pin
ErnestoNet25-Sep-12 15:58
ErnestoNet25-Sep-12 15:58 
GeneralRe: What makes C and C++ a "good" language? Pin
jschell26-Sep-12 8:21
jschell26-Sep-12 8:21 
GeneralRe: What makes C and C++ a "good" language? Pin
ErnestoNet27-Sep-12 4:00
ErnestoNet27-Sep-12 4:00 

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.