Re: map/filter/reduce/lambda opinions and background unscientific mini-survey

2005-07-01 Thread mcherm
Tom Anderson wrote: > So, if you're a pythonista who loves map and lambda, and disagrees with > Guido, what's your background? Functional or not? I avoid map sometimes, because I find its syntax less readable than list (and expression) comprehensions. But occasionally it is the most readable way t

Re: map/filter/reduce/lambda opinions and background unscientific mini-survey

2005-07-05 Thread mcherm
Steven D'Aprano writes: > Lambda is no more an obscure name than "function", "decorator", "closure", > "class", or "module". The first time you come across it, you don't know > what it means. Then you learn what it means, and then you know. I believe you've made two errors here. First of all, "lam

Re: Proposal: reducing self.x=x; self.y=y; self.z=z boilerplate code

2005-07-05 Thread mcherm
Ralf W. Grosse-Kunstleve wrote: > I often find myself writing:: > > class grouping: > > def __init__(self, x, y, z): > self.x = x > self.y = y > self.z = z > # real code, finally > > This becomes a serious nuisance in complex applications

Re: map/filter/reduce/lambda opinions and background unscientific mini-survey

2005-07-05 Thread mcherm
Up until a few years ago, I ran the computer science department at a high-school. I provided support for the English teachers who taught *all* students -- but they taught things like the use of a word processor or the internet, and never covered the meaning of "lambda". I taught a computer applicat

Re: python simply not scaleable enough for google?

2009-11-12 Thread mcherm
On Nov 11, 7:38 pm, Vincent Manis wrote: > 1. The statement `Python is slow' doesn't make any sense to me. > Python is a programming language; it is implementations that have > speed or lack thereof. [...] > 2. A skilled programmer could build an implementation that compiled > Python code into