A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/067823.html below:

variable naming...

variable naming... 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4