Linked by Thom Holwerda on Thu 7th Jul 2005 14:41 UTC
Gnome The second point release of the stable 2.10.x branch of GNOME is now officially released. This release has seen continued work to eliminate memory leaks, plain bugs and in general improve and polish the stable series of GNOME. Source: bindings, desktop, platform.
Thread beginning with comment 1276
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[4]: Gnome bloat and is slow
by MORB on Fri 8th Jul 2005 09:06 UTC in reply to "RE[3]: Gnome bloat and is slow"
MORB
Member since:
2005-07-06

C++ is a programming language. GTK+ is a GUI API framework.
I agree. Since you pointed out that it's comparing aples to oranges, why did you bother to do the comparison anyway ?

C++ can't do anything remarkable that can't be done in any other language
And no programming language can do anything remarkable that can't be done in assembly.

C++ is also a horrible, complex and distasteful programming language to weild.
That's exactly what I thought, as long as I was fighting C++ instead of working with it, all while thinking I knew better than the people who designed the language.

The problem of C++ is that since it contains a large subset of C for interoperability purpose, an awful lot of people just keep programming it like it was C and just cherry pick a few C++ features.
C++ is not C. It's a totally different language, and coding in C++ by doing things the C way is dangerous and is why a lot of C++ code is messy and hard to maintain.
For instance, there is no problem using exceptions - as long as you don't keep writing C, which is mostly incompatible with exceptions.

So much for C++ evolution and maturity that in this day and age we still have to battle memory corruptions, leaks, overflows, underflows, and an assorted array of security vulnerabilities both known and unknown
That's exactly what happens when you insist on your code being some bizarre C/C++ chimera.
Take advantage of the RAII pattern, use STL containers instead of old-style strings and arrays, use smart-pointers, and these problems are no more.

There are also good programming practices, like writing your code in a way that avoid useless clutter and makes the purpose of the code more apparent, that just aren't possible in C.

Reply Parent Score: 1

RE[5]: Gnome bloat and is slow
by on Fri 8th Jul 2005 10:44 in reply to "RE[4]: Gnome bloat and is slow"
Member since:

C++ can't do anything remarkable that can't be done in any other language

And no programming language can do anything remarkable that can't be done in assembly.

That is just BS. There are lots of programming languages that can perform magic on schedules, budgets, quality, maitainability and a slew of other areas that ASM or even C++ can't dream of.

Reply Parent Score: 0

RE[6]: Gnome bloat and is slow
by MORB on Fri 8th Jul 2005 11:13 in reply to "RE[5]: Gnome bloat and is slow"
MORB Member since:
2005-07-06

I was merely showing how his argument against c++ was absurd, because he was basically implying that what can be done in c++ can be done in c - which is true only to the extent that you ignore all these parameters you mentioned.
And comments like "there are lots of <things> that are better than <other thing>" without any form of substantation are pretty useless.

Reply Parent Score: 1

Mystilleef Member since:
2005-06-29

That's another problem with the C++ community. Everytime you point out how totally wrecked the language is, they tell you you are not doing things the right way.

Use feature X, don't use feature Y. You are coding C not C++. Use this library, don't use that library. All the while, time is passing, resources are been expended and I'm way past my deadline.

This is the language Mr Anonymous thinks will automatically do wonders for GNOME. This is the language to bring stability, security and consistency to GNOME.

There is a reason I called C++ unwieldy, and MORB just proved my point. It's unwieldy because no bloody person ever does things the right way. The amount of gotchas inherent in the language will make stone-cold killer squeal like a lil' bitch.

I know...I know...I'm probably coding C++ the wrong way...

*sighs*

Reply Parent Score: 1

RE[6]: Gnome bloat and is slow
by MORB on Fri 8th Jul 2005 16:02 in reply to "RE[5]: Gnome bloat and is slow"
MORB Member since:
2005-07-06

You sound more like you never really tried, actually.

And there are people doing good, working, proper, readable, enjoyable c++. KDE is an example.

Reply Parent Score: 1