Re: C or C++ for FOSS/linux?



On a sunny day (Sat, 30 Dec 2006 12:30:37 +0000) it happened Rui Maciel
<rui.maciel@xxxxxxxxx> wrote in <45965bf1$0$28777$a729d347@xxxxxxxxxxxxxxx>:

Jan Panteltje wrote:

I cut and paste from a previous coded linked list.
It is written so generic that all I have to do is change some name that
takes 5 seconds with my editor.
If the structures making up the list need other members, then you will
have to specify those in C++ too.
That said I have seen people write linked lists in 5 lines in C in
probably less then 5 seconds.
Just that it took me much longer to understand their code :-)

So how can you possibly claim that "coding in C is so much simpler and
faster" while at the same time you confess that each and every time you
need to use trivial things like basic data structures you need to spend a
considerable amount of time writing them by hand and debug them?

?????
You obviously do not knwo C, and never debug anythging in C++???????

Where's
your "simplicity and quickness"? And we haven't even touched the algorithm
side of it yet.

Hell Stroussup loves ye.


The C programming language is a great tool, as C++ is.

No C++ is a deficiency.

Both have their
strengths and their weaknesses and therefore both are better suited to
perform certain types of tasks. Therefore, this whole "language A is so
awesome and so superior to language B in each and every possible way"
discussion you are trying to have here is so braindead that it isn't even
funny.

It was not _my_ discussion, and clearly it is the C++ devotees that feel
hurt because they, in the deepest of their whatever it is, see C++ sucks.
Tt sucks because it fails to be truly object oriented, is much too complicated
for even a compilers, is huge typing overhead, makes no logic sense to me
whatsoever, all this because Stroussup did not know how to program.

This is my personal view, and you may have yours.
You scream about trolls, but learn C first, even before C++, then you will
see the futility of Stroussup language and how it makes software bloat.

Oh well... Trolls are simply trolls...

Actually often I just prefer asm, as at least I talk to the chip.
Try programming a micro controller in C++ pffffff.
Bye



Best regards
Rui Maciel



.