"John Machin" <[EMAIL PROTECTED]> wrote:

> On Feb 13, 4:57 pm, "Hendrik van Rooyen" <[EMAIL PROTECTED]> wrote:
> >  "John Machin" <[EMAIL PROTECTED]> wrote:
> >
> > > Now for the algorithm: all of that testing to see if you are about to
> > > sail off the end of the world is a bit ugly and slow. You can use bit-
> > > bashing, as Paul suggested, even though it's on Steven D'Aprano's list
> > > of 6 deadly sins :-)
> >
> > Thou shallt not bit - bash
> >
> > What are the other five?
> 
> """
> ... regexes have their place, together with pointer arithmetic, bit
> manipulations, reverse polish notation and goto. The problem is when
> people use them inappropriately ...
> """
> 

I find this unsatisfactory - I was hoping for a five commandment
style of thing, setting out proper prohibitions against evil stuff.

It seems that I am a closet fundamentalist.

A sixth, btw is:

Thou shallt not use globals.

- Hendrik



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to