Hungarian Notation
Kam-Hung Soh
kamhung.soh at gmail.com
Tue May 27 01:59:48 EDT 2008
inhahe wrote:
> Does anybody know of a list for canonical prefixes to use for hungarian
> notation in Python? Not that I plan to name all my variables with hungarian
> notation, but just for when it's appropriate.
I used simple Hungarian notation when I started programming in Python
(e.g. "s" for strings, "l" for lists, "d" for dictionaries). As my
programming style became more "Pythonic" and I chose better variable
names, I stopped using Hungarian notation.
YMMV.
--
Kam-Hung Soh <a href="http://kamhungsoh.com/blog">Software Salariman</a>
More information about the Python-list
mailing list