View Single Post
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#82
Originally Posted by Joorin View Post
Did you follow the link given by OP? The one about C++ and its properties and the problems that come with it?
Yes, I did.
Basically, it's moaning about C++.

There are some valid statements, but half of the statements translate to "C++ is difficult, because XY", which is a pretty subjective matter.
Some of them complain about language features which the author doesn't know well.
I think it is ridiculous that he even complains about manual memory management... C++ is not managed code, period.

Originally Posted by Joorin View Post
There are problems connected to using C++ as the main language for something as central as the preferred toolkit. As simple things as using a debugger can turn incredibly ugly even with moderately sized projects on account of C++, by design, being hard to interpret in object form. That in turn results in harder to debug programs which leads to lower quality code and that's a pain no matter how you look at it.
True. I completely agree.
However, I still prefer C++ to C because of OOP.

And I still think that C# is vastly superior.

Originally Posted by Joorin View Post
C++ being taught in schools is not an argument for it being the best choice on a device like the N900.
No, it isn't. But it helps if you're stuck with it.
And it is really possible to live with its problems.

For me, the argument for Qt being my choice is that there is no other Maemo developer toolkit which has an IDE that runs on Windows.

Originally Posted by Joorin View Post
With that said, Qt might very well be the best choice when it comes to application development but it is, in my opinion, a pity it's implemented in C++.
Sure.
But what other languge do you wish for?
C lacks OOP, so it is out of the question. For C#, there is already a big class library which is better than Qt. (The .NET Framework on Windows, and Mono on Linux.)
And despite its shortcomings, C++ is still a popular language for many people.


By the way, the moment Mono becomes a valid alternative on Maemo, I'll stick to that.
It uses a GTK-based UI (called GTK#), and it is programmable with my favourite language (C#), and with the best IDE on the market (Visual Studio).

In fact, I fail to understand why Nokia didn't acquire Mono (or at least incorporate into the platform) instead of Qt.

Last edited by Venemo; 2010-04-20 at 16:34.