viernes, 21 de enero de 2011

C vs C++

I never used C++ but is similar with C, I started researching and found that at the basic level, in it's simple, basic functions, C is faster than C++. C is faster at math and printing, but C++ has plenty of advantages. If you look at the actual programs I wrote, the C++ code is a lot simpler.
There are a lot of little things that I personally believe make the programmer's life easier. There are also a ot of bigger, more complicated things like classes, which can greatly simplify a large program. They didn't affect these programs, but in a real application, these features could make writing the program much easier. I think that when C was upgraded to C++, speed wasn't the only consideration but the most important is the ease of use.

No hay comentarios:

Publicar un comentario