python-efl/CODING

23 lines
588 B
Plaintext
Raw Normal View History

2013-03-29 08:46:32 -07:00
Style
=====
* For indentation, use *four space characters* per level of indentation.
* When comparing C pointers, use == and != instead of the python operator "is".
This makes a visual distinction between C and py code and don't confuse the
reader as "==" and "is" has different meaning in python.
2013-03-29 08:46:32 -07:00
Tips
====
* cython -a will generate a report that shows your cython code, and each line
can be expanded by clicking to show the generated C code.
* cython does automatic dict <-> struct conversion with basic struct members
Ideas
=====
* Use a decorator for _METHOD_DEPRECATED