Hungarian Notation
Paddy
paddy3118 at googlemail.com
Tue May 27 03:43:18 EDT 2008
On May 27, 7:42 am, "inhahe" <inh... at gmail.com> wrote:
> Well, I just need it once in a while. Actually now is the only time I
> remember. The last time what I needed was a file name extension. I want a
> string called headers, but I want to derive a dict from it, also called
> headers. So I figured the string would be called strHeaders, and the dict,
> dctHeaders probably, but when a precedent for something like that exists, I
> like to use it.
>
> "Kam-Hung Soh" <kamhung.... at gmail.com> wrote in message
I have a my own sometime used convention od using dict names that
mirror
what is being mapped to what, so a dict mapping headers to body might
be called head2body, in general a mapping from x to y I might call
x2y.
- Paddy.
More information about the Python-list
mailing list