Dr. Dobb's Python-URL! - weekly Python news and links (Feb 6)

2006-02-06 Thread Magnus Lycka
QOTW: "Excessive cleverness can lead to unmaintainable code. So can excessive stupidity." -- Alan Morgan "Also Python code is pretty bare-metal, so that file.write or socket.write go to the syscall immediately. Try that in Java and you'll find 30 layers of complex abstractions for doubtful benef

Dr. Dobb's Python-URL! - weekly Python news and links (Jan 30)

2006-01-31 Thread Magnus Lycka
QOTW: "[The state pattern] can be very confusing for newbies and peoples having no experience with *dynamic* languages, and I guess control-freaks and static-typing-addicts would runaway screaming. But I like it anyway !-)" - bruno desthuilliers "[D]ubious Python hacks that should never be used

Dr. Dobb's Python-URL! - weekly Python news and links (Jan 23)

2006-01-23 Thread Magnus Lycka
QOTW: "The IEEE-754 standard doesn't wholly define output conversions, and explicitly allows that a conforming implementation may produce any digits whatsoever at and after the 18th signficant digit, when converting a 754 double to string. In practice, all implementations I know of that exploit t

Dr. Dobb's Python-URL! - weekly Python news and links (Jan 18)

2006-01-18 Thread Magnus Lycka
QOTW: "*what* the value is is defined by the operations that the object supports (via its type). *how* the value is represented inside the object is completely irrelevant; a Python implementation may use electric charges in small capacitors, piles of rocks, diapers,or an endless supply of small