variable naming...

Erik Max Francis max at alcyone.com
Fri Apr 27 00:09:20 EDT 2001


"Owen F. Ransen" wrote:

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

You'll find plenty of people in C and C++ who think it's an awfully bad
idea, as well.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Sometimes life gets in the way / You'll survive, be strongest
\__/ Des'ree
    Alcyone Systems' Daily Planet / http://www.alcyone.com/planet.html
 A new, virtual planet, every day.



More information about the Python-list mailing list