C or C++

A9d3251f6dc0889db960505c3d85e043
0
_mx5_Kris 101 Oct 08, 2004 at 03:31

: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?

9 Replies

Please log in or register to post a reply.

760a6f5fe0bf771163e05e808716020b
0
NeZbiE 101 Oct 08, 2004 at 05:01

There’s always “extern “C”” =P

51db081cc72925fda1695ce254187b20
0
ShadowHawk 101 Oct 08, 2004 at 06:51

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.

0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 Oct 08, 2004 at 07:30

I use a mixture of both, so I voted C because my code is in C.

760a6f5fe0bf771163e05e808716020b
0
NeZbiE 101 Oct 08, 2004 at 13:32

Let’s all have a good old flamewar =)

7543b5c50738e23b200e69fe697ea85a
0
NomadRock 101 Oct 08, 2004 at 18:15

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.

A9d3251f6dc0889db960505c3d85e043
0
_mx5_Kris 101 Oct 09, 2004 at 02:05

sorry man, no intention of lighting a flame war….

7d23c6a8d255c0775ee333ebc2050894
0
Zoulz 101 Oct 21, 2004 at 14:00

As C++ is an evolved variant of C, I don’t see the point in not using it?

D45a946590ea97f316bb848b54f6a36b
0
Codemonger 101 Oct 21, 2004 at 14:31

Some really good points have been made:

There’s always “extern “C”” =P

As C++ is an evolved variant of C, I don’t see the point in not using it?

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.

A8433b04cb41dd57113740b779f61acb
0
Reedbeta 168 Oct 21, 2004 at 22:56

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.