Programming in Python with a view to extending in C at a later date.

dug.armadale at googlemail.com dug.armadale at googlemail.com
Mon Apr 20 14:57:29 EDT 2009


Hi,

Say you set out to program in Python knowing that you will be
converting parts of it into C ( or maybe C++) at a later date, but you
do not know which parts.

Can you give any general Python structure / syntax advice that if
implemented from the start, will make this future task less painful.
In addition, advice that will make this easier for automatic tools
will be good too.

This advice might include stuff like "avoid using Python yield
as ...."

Thank you in advance,

Douglas



More information about the Python-list mailing list