This week, several things have made me think back to previous projects I have worked on where I have had to port code to Symbian. One thing stands out – if at all possible avoid porting code that’s still unstable and changing significantly. Otherwise, depending how you do it, you will may up doing the porting exercise lots of times. Also, debugging unstable code on the phone as opposed to the donor platform will always take significantly longer.
If code is changing or is likely to change at all in the future, ensure you modify the donor code rather than creating a Symbian branch. You can do this by, for example, adding #ifdef _SYMBIAN_ for the Symbian specific code. This will prevent you having to do the same porting lots of times. Also, this may even get the donor code writer into thinking what to do to make the code less platform specific!