Symbian OS design faults

Login to reply to this topic.
Tue, 2005-07-26 12:43
Forum Nokia Champion
Joined: 2004-05-26
Forum posts: 732
Recently I had gone through this artilce from The Code Project site. You can also read the article from the below link.

http://www.codeproject.com/ce/Symbian_OS_design_faults.asp


Mon, 2005-08-08 09:28
Joined: 2005-07-14
Forum posts: 20
Re: Symbian OS design faults
Another guy who pretends to know how to make a software. Roll Eyes
The only things rigth with his critic his the lacks of documentation in symbian.

Stl : an ineffective way to code. Several methods with different name do exactly the same, and other are non explicit. (seriously, who can make the diffence between string.size(), and string.length()).
At the contrary, Descriptor can be used for raw data. You don't have to care, if you deal with package send via ip, a picture from your build-in camera, of a japanese SMS.
It's the same!

The uge amont of classes! Yes. It's seem that this guy never seen an os before. Seriously, what does he think? the more fonctionnality you need, the more classes you have!

The exception mecanism.
With the RTTI, one of the worst idea of C++. Unlike in java, Exception In C++ is a very, very bad way to handle problem :
It never give your memory back.
It start a new thread, wich is much more expensive than in java.
eventually, if the method throw an error, you have no obligation to handle it. As a result, contrary to a java exception, a C++ exception is useless most of the time!!!

The compiler problem....
In fact, he could be rigth. Most of the time, on a different architecture (PC for example), it's correct. Except that this time, we are dealing with an os with huge problem of memory management, and binary compatibility...
Symbian works on new tools which build source code pattern for the devellopper. But nothing replace the brain.

TANY is the best thing on earth!
At last, you know if you expect any kind of data, or if you expect a function pointer to a void method!
It's so good, that I wish that other languages had this distinction!

Kiss me I'm french Smiling

Mon, 2005-08-08 10:39
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 723
Re: Symbian OS design faults
Quote from: A13
The exception mecanism.
With the RTTI, one of the worst idea of C++. Unlike in java, Exception In C++ is a very, very bad way to handle problem :
It never give your memory back.
It start a new thread, wich is much more expensive than in java.
eventually, if the method throw an error, you have no obligation to handle it. As a result, contrary to a java exception, a C++ exception is useless most of the time!!!

Well, new Symbian OS versions will use the standard C++ exception handling ...

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

Wed, 2005-08-10 11:57
Joined: 2003-07-22
Forum posts: 70
Re: Symbian OS design faults
Well, new Symbian OS versions will use the standard C++ exception handling .


Hi tote,
From where do u get this Information ?

Regards,
MeenuJ
Thu, 2005-08-11 10:47
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2006
Re: Symbian OS design faults
From Symbian (at least I guess so...) ! This is a new features of Symbian OS v9.

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Wed, 2006-03-29 14:52
Joined: 2003-05-15
Forum posts: 53
Re: Symbian OS design faults
Quote from: eric
From Symbian (at least I guess so...) ! This is a new features of Symbian OS v9.
That's true, and pretty good for porting. Smiley
But you can still use the symbian way for exceptions.
  • Login to reply to this topic.