:D basically i just wanna get an idea of what you reckon (without taking technologies into mind and features) is better. And more importantly what do you use?
C or C++
Started by -mx5-Kris, Oct 08 2004 03:31 AM
9 replies to this topic
#1
Posted 08 October 2004 - 03:31 AM
#2
Posted 08 October 2004 - 05:01 AM
There's always "extern "C"" =P
#3
Posted 08 October 2004 - 06:51 AM
Well i just cant work without objects.
So i go for C++ man i cant even think about working without objects. Real life consists of object imo im using a keyboard which is just another subclass of object and so on.
So i go for C++ man i cant even think about working without objects. Real life consists of object imo im using a keyboard which is just another subclass of object and so on.
#5
Posted 08 October 2004 - 01:32 PM
Let's all have a good old flamewar =)
#6
Posted 08 October 2004 - 06:15 PM
Dont make polls like this. If you were advanced enough to know the reasoning behind the languages, you would also be wise enough to realize a flame war question.
Jesse Coyle
#7
Posted 09 October 2004 - 02:05 AM
sorry man, no intention of lighting a flame war....
#8
Posted 21 October 2004 - 02:00 PM
As C++ is an evolved variant of C, I don't see the point in not using it?
#9
Posted 21 October 2004 - 02:31 PM
Some really good points have been made:
* NOTE: these are just my personal opinions
I found it handy to use a mixture of both. I prefer C and don't care for C++ OOP abilities. I would use Java or .NET if I wanted a pure OOP language. But C++ is very wide spread and still in use today as a common tool. I find what you do with C++ and objects you can acomplish ten times faster with .net and also Java is like a clean OOP version of C, to me anyway. C++ is fast though.
If I had to pick one, I would pick C++ because I can write all the C I want and not have to worry about the ++ part :) you kill two birds with one stone. I don't think their is any use in arguing which is better, c++ is basically the object version of C.
Now you could argue the OOP features of C++ though, at least compared to other OOP languages.
Quote
There's always "extern "C"" =P
Quote
As C++ is an evolved variant of C, I don't see the point in not using it?
Quote
Dont make polls like this. If you were advanced enough to know the reasoning behind the languages, you would also be wise enough to realize a flame war question.
* NOTE: these are just my personal opinions
I found it handy to use a mixture of both. I prefer C and don't care for C++ OOP abilities. I would use Java or .NET if I wanted a pure OOP language. But C++ is very wide spread and still in use today as a common tool. I find what you do with C++ and objects you can acomplish ten times faster with .net and also Java is like a clean OOP version of C, to me anyway. C++ is fast though.
If I had to pick one, I would pick C++ because I can write all the C I want and not have to worry about the ++ part :) you kill two birds with one stone. I don't think their is any use in arguing which is better, c++ is basically the object version of C.
Now you could argue the OOP features of C++ though, at least compared to other OOP languages.
#10
Posted 21 October 2004 - 10:56 PM
I don't care much for using pure OOP languages, but sometimes it's really handy to be able to write some classes. C++ is good for that, letting you use OOP where you like and standard procedure-call programming where you don't.
Plus, I like being able to use references, the STL, default parameters, operator and function overloading, declaring variables at any point in the code, initializers in declarations, new and delete, and all the other handy features of C++ that have nothing to do with OOP.
Plus, I like being able to use references, the STL, default parameters, operator and function overloading, declaring variables at any point in the code, initializers in declarations, new and delete, and all the other handy features of C++ that have nothing to do with OOP.
reedbeta.com - developer blog, OpenGL demos, and other projects
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












