From pykde Sat Oct 21 17:19:40 2006 From: Torsten Marek Date: Sat, 21 Oct 2006 17:19:40 +0000 To: pykde Subject: Re: [PyKDE] camel/under style Message-Id: <453A56AC.5050401 () gmx ! net> X-MARC-Message: https://marc.info/?l=pykde&m=116145120829189 -----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 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 PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde