Const in python?

Dave Brueck dave at pythonapocrypha.com
Wed Mar 26 23:15:59 CET 2003


"Greg Ewing (using news.cis.dfn.de)" <me at privacy.net> wrote in message news:<b5qoep$2a7sgm$1 at ID-169208.news.dfncis.de>...
> Lulu of the Lotus-Eaters wrote:
> > Brueck
> > does a great job of explaining exactly why capitalized contstants aid
> > comprehension.
> > 
> > Maybe I'm tainted by having already used it in a dozen languages before
> > Python... hmmm, do you think there is a reason those dozen languages all
> > use the same convention?
> 
> I was wondering the other day why this convention
> somehow seems "right" to me. Rationally, it ought to
> seem distracting as Dave Brueck suggests, but somehow
> it doesn't.

I think you meant to say, "as Dave Brown suggests", as I _don't_ find
the all caps convention distracting. :)

-Dave
(the other Dave B. in this thread)




More information about the Python-list mailing list