I'm not going to quote all the post, since it was long and it would make the page longer
What you said (made exception for now of when you say that I think bad C++ programmers would be good C programmers... since I think the opposite ), is absolutely right, and I think the same, but I just try to realize that we are living in a real world and we have to face real compilers that have real bugs or regressions.
We need to make in account that even if theoretically speaking most of the features, and I mean features, of C++ would give the same result of C work-by-yourself-reinventing-the-wheel, in a real compiler most of the times produce bloated code.
That's not a C++'s fault... but you need to deal with it.
Now, about programmers, ok, bad C++ programmers would be even worse C programmers, but on the other hand when you are a good programmer in both the examples, it's a bit more difficult to optimize C++ than C.
Inheritance is a wonderful tool and I do use it, but it's easy with it to generate bloat. You need to be veeeery careful to not loose performance.
Finally, I hope we can quickly reach a point since we are out of topic
What you said (made exception for now of when you say that I think bad C++ programmers would be good C programmers... since I think the opposite ), is absolutely right, and I think the same, but I just try to realize that we are living in a real world and we have to face real compilers that have real bugs or regressions.
We need to make in account that even if theoretically speaking most of the features, and I mean features, of C++ would give the same result of C work-by-yourself-reinventing-the-wheel, in a real compiler most of the times produce bloated code.
That's not a C++'s fault... but you need to deal with it.
Now, about programmers, ok, bad C++ programmers would be even worse C programmers, but on the other hand when you are a good programmer in both the examples, it's a bit more difficult to optimize C++ than C.
Inheritance is a wonderful tool and I do use it, but it's easy with it to generate bloat. You need to be veeeery careful to not loose performance.
Finally, I hope we can quickly reach a point since we are out of topic
Comment