C's syntax

Erik Max Francis max at alcyone.com
Mon Oct 23 23:14:55 EDT 2000


Alex Martelli wrote:

> Visual C++ may not be "reasonable", but it's still one of the most
> widespread on the market, and does NOT give this warning at normal
> warning-levels (and the system header files spew oodles & oodles of
> warnings if you try to enable warnins at pedantic-level, so one
> does not normally use that).

One should never be running at the default warning level.  One should be
turning as many warnings on as one can stand.

> It's a good coding habit to get into, to ensure that particular
> slip will be caught by any standard compiler, rather than relying
> on specific warning-relater features that NOT all compilers have.

It is largely unnecessary.  It is a novice programming error, one that
actual programmers do not make unless they are very green.  Given that
any reasonable compiler will warn about such constructs, making a major
change in style for an error that advanced programmers do not make is
overkill, to say the least.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ To be a man means to be a fellow man.
\__/ Leo Baeck
    Product's Quake III Arena Tips / http://www.bosskey.net/
 Tips and tricks from the absolute beginner to the Arena Master.



More information about the Python-list mailing list