Hi everyone

C++ has some drawbacks; it all depends on what C++ compiler you are using.
Some problems with C++ arise in:
- exception handling (its horrible)
- it hides things like memory allocation
and you can write object-oriented code in C

what could be done in C++ is module interfacing, but the base or core
of the software should be done in C imo

the benefit of C is that you can understand every line of code without
knowing the context,
it does what it does and nothing else; with vala or other higher level
languages, everything becomes context dependent so reading lines of
code does not tell you much (after all)

cheerio,


On Sun, Mar 27, 2011 at 1:42 PM, Francesco Cat
<[email protected]> wrote:
> Can I just ask something stupid?
> Everyone here is speaking about C as an alternative but no one about
> C++. I'm no expert of linux nor embedded systems, but I guess that
> other than some C API, something might be done with C++ without any
> excessive overhead, or am I completely wrong?
> I am asking only because I've sometime studied some C and C++ open
> source projects, and the only thing I can say is that C code is much
> more difficult to maintain (and to understand if you are not the one
> who wrote it :P).
> _______________________________________________
> Netsukuku mailing list
> [email protected]
> http://lists.dyne.org/mailman/listinfo/netsukuku
>
_______________________________________________
Netsukuku mailing list
[email protected]
http://lists.dyne.org/mailman/listinfo/netsukuku

Reply via email to