C or C++
Posted 08 October 2004 - 03:31 AM
Posted 08 October 2004 - 06:51 AM
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.
Posted 08 October 2004 - 06:15 PM
Posted 21 October 2004 - 02:00 PM
Posted 21 October 2004 - 02:31 PM
* 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.
Posted 21 October 2004 - 10:56 PM
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.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users