constant in python?

Alex Martelli aleaxit at yahoo.com
Sat Aug 18 18:42:37 CEST 2001


"liam" <lcampbell at ubytes.com> wrote in message
news:62vf7.4717$Vs2.403505 at news.pacbell.net...
> agreed, its fine to leave it to yourself to know not to change a constant
> but if its a big project constants would be a nice plus so your associates
> dont mess thing up, accidently?

In a big project, the overhead of writing and installing the "constants
module" I explain in my Cookbook recipe is surely less than 1/10000
of the project effort -- so, 0.01% is NOT a big price to pay if you DO
consider it "a nice plus" to get some protection against accidents of
this nature.


Alex






More information about the Python-list mailing list