variable naming...

Tom NoSpam at NoSpam.com
Thu Apr 26 19:47:04 EDT 2001


"Owen F. Ransen" <ransen_spam_me_not at nemo.it> wrote in message
news:3ae934d3.2582143 at news.newsguy.com...
> Gonna get a lot of flames for this one maybe...
>
> In C I am used to using the notation where the first bit
> of the name tells you the type of the variable:
>
> int iNumFlames ;  // integer
> char szFlame[MAX_CHARS] ; // zero terminated string
>
> and so on. I presume this is not reccommended in Python?
> I've found it very helpful in C...

Yes, I find 'hungarian' notation quite useful too, but it seems to be
associated with MS and is frowned upon.  Too bad.

Tom.

> Is there an "official" or "semi-official" style, like when
> to use lowercase and uppercase and mixed?
>
> <duck>
>
>
> --
> Owen F. Ransen
> http://www.ransen.com/
> Home of Gliftic & Repligator Image Generators





More information about the Python-list mailing list