Python-URL! - weekly Python news and links (May 22)

2009-05-22 Thread Gabriel Genellina
QOTW: "Floating point is sort of like quantum physics: the closer you look, the messier it gets." - Grant Edwards The circular relationship between object and type explained: http://comments.gmane.org/gmane.comp.python.general/623460 Floating point numbers don't behave exa

Re: Short and simple functions (was: Re: Dr. Dobb's Python-URL! - weekly Python news and links (May 22))

2006-05-22 Thread Peter Otten
Ben Finney wrote: > "Andy Salnikov" <[EMAIL PROTECTED]> writes: >> "Too many" is always opposite to "hard to make a mistake", at least >> in my mind. > > I parsed the assertion as: > > (It's hard to > (make a mistake > (by having > (too many > (short and simple)

Short and simple functions (was: Re: Dr. Dobb's Python-URL! - weekly Python news and links (May 22))

2006-05-22 Thread Ben Finney
"Andy Salnikov" <[EMAIL PROTECTED]> writes: > "Peter Otten" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > QOTW: "It's hard to make a mistake by having too many short and simple > > functions. And much too easy to make them when you have too few ;-)" > > - Thomas Bartkus > > >

Re: Dr. Dobb's Python-URL! - weekly Python news and links (May 22)

2006-05-22 Thread Peter Otten
Andy Salnikov wrote: >> QOTW: "It's hard to make a mistake by having too many short and simple >> functions. And much too easy to make them when you have too few ;-)" >> - Thomas Bartkus >> > And of course there is a mathematical proof of that provided > somewhere, isn't it? :) If there were a

Re: Dr. Dobb's Python-URL! - weekly Python news and links (May 22)

2006-05-22 Thread Andy Salnikov
"Peter Otten" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > QOTW: "It's hard to make a mistake by having too many short and simple > functions. And much too easy to make them when you have too few ;-)" > - Thomas Bartkus > And of course there is a mathematical proof of that prov

Dr. Dobb's Python-URL! - weekly Python news and links (May 22)

2006-05-22 Thread Peter Otten
QOTW: "It's hard to make a mistake by having too many short and simple functions. And much too easy to make them when you have too few ;-)" - Thomas Bartkus "Argh, the following is valid Python syntax: assert a is not b - XXX in-progress" - Armin Rigo (found on Michael Hudson's blog) A GR