[maemo-developers] Python App on Maemo

From: Attila Csipa maemo at csipa.in.rs
Date: Tue May 5 12:29:17 EEST 2009
On Tuesday 05 May 2009 10:41:11 Jeremiah C. Foster wrote:
> project.) But there is no need to prototype first in python - it gives
> you no special advantages aside from the fact that most prefer to code
> in python versus C++ and that some consider prototyping to be much
> faster in python.

Another, very important advantage for some, is that you don't need scratchbox, 
or any maemo specific setup (god forbid cross compile) to develop in PyQt and 
you can run literally the same code on both your desktop and your NIT. Just 
install python-qt on your desktop and when done, copy over .py files and you're 
good to go.

Having worked with Qt in c++ and python as well, I would be one of those who 
say development in python is significantly faster (especially prototyping). 
Even if you don't keep a single line of python code in the end. I usually 
found myself better off developing my c++ (re)implementation based on a python 
prototype than developing in c++ from scratch. YMMV, of course. If both 
development time and execution speed are required I usually go for a mix - 
python prototype and then optimize speed by replacing profiled 
functions/classes with C(++) code to achieve the required speed. YMMV, again, 
neither qt nor python are a silver bullet, but both are very very useful if 
you use them right :)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090505/f97dfef6/attachment.htm 
More information about the maemo-developers mailing list