case-sensitivity

Peter Otten __peter__ at web.de
Wed Nov 12 13:50:02 EST 2003


Peter Hansen wrote:

> With a large enough palette, you could just reuse the same variable
> name for everything, needing only to respect the proper colour for
> correct behaviour.  Imagine never having to think up variable names
> more complicated than "foo".
> 
> def foo(foo, foo):
>     foo = foo + foo.foo()
>     return [foo for foo in foo(foo.foo) if foo != foo]
> 
> (I can't show the proper colourization of the above in the primitive
> Usenet medium, so you'll just have to trust me that it works...)
> 
> Yes, definitely not a bad idea...  ;-)

See http://www.cnn.com/2000/TECH/computing/09/07/smell.digiscents.reut/
about the now overdue "click-and-sniff" computers.
So, with technology fast advancing, you'd probably better start training
your dog to track down bugs and, ahem... code smells. On the internet,
everybody will know you're coding without a dog soon :-)

Peter






More information about the Python-list mailing list