that's what I do as well. the line is blurred between modue-level
methods and class methods, because in python they are all just
methods... But, I really like the idea of striving for single-word
method names and therefore avoiding camel case or
underscore-seperation at all. Funny, All of my concept of 'style'
disappeared when I started this commercial C++ project...

On 10/21/06, Torsten Marek <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick Stinson schrieb:
> pythonic purists use underscores and lowercase as described in the
> python style guide, qt/C++ people use camel casing to remain
> consistent with Qt.
>
> What do PyQt people use?
>
>
Hi,

for classes, "public" methods and functions, I use camel case. For everything
else (internal functions/apis, variable and arg names), I sometimes use
lowercase/underscore. I used to have camel-casing everywhere, but somehow I
switched over. Maybe it was because I saw all these underscores in other
people's Python code. Still, class or method names with underscores would look
unbelievable odd to me...

best,

Torsten
- --
Torsten Marek <[EMAIL PROTECTED]>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFOlasfMVFHqJEyFgRAkZjAJ9DYWASvmjxFxMGov/NuPiLg8K5CgCfX+jU
uaP0eoaDKGVHucoGtmb+kG8=
=vxTs
-----END PGP SIGNATURE-----

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde



--
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to