Re: Improving Python (was: Lambda going out of fashion)

2004-12-27 Thread Fredrik Lundh
Dima Dorfman wrote: > I happen to not mind the ''.join syntax, but if I did, I would use > > str.join('', seq) > > which is just like a join builtin except that it's not as easy to make > it work on pre-string-method Pythons. just like join, except that it isn't: >>> string.join(seq, sep) u'axb

Re: Improving Python (was: Lambda going out of fashion)

2004-12-26 Thread Mike Meyer
[EMAIL PROTECTED] (Aahz) writes: > While I'm in complete agreement about the "".join() construct on the > basis of looks, I have come to appreciate the fact that I *never* mess up > the order of arguments any more. Yeah. When I needed joinable arrays of strings in Eiffel, I added them to the ARRA

Re: Improving Python (was: Lambda going out of fashion)

2004-12-26 Thread Dima Dorfman
On 2004-12-26, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > string methods are nice, but nothing groundbreaking, and their niceness is > almost entirely offset by the horrid "".join(seq) construct that keeps popping > up when people take the "the string module is deprecated" yada yada too > seriously

Re: Improving Python (was: Lambda going out of fashion)

2004-12-26 Thread Aahz
In article <[EMAIL PROTECTED]>, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > >func(*arg) instead of apply() is a step back -- it hides the fact >that functions are objects, and it confuses the heck out of both >C/C++ programmers and Python programmers that understand the "def >func(*arg)" form, becau

Re: Improving Python (was: Lambda going out of fashion)

2004-12-26 Thread Just
In article <[EMAIL PROTECTED]>, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: > func(*arg) instead of apply() is a step back Strongly disagree. I find func(*args) much more readable than apply(func, args). > -- it hides the fact that functions are objects, What does this have to do with anything

Re: Improving Python (was: Lambda going out of fashion)

2004-12-26 Thread Fredrik Lundh
Aahz wrote: >>(I've said it before, and I'll say it again: native unicode and >>generators are the only essential additions I've seen since 1.5.2, with >>properties and sub-classable C types sharing a distant third place. >>the rest of the stuff has had zero impact on my ability to write solid >>c

Re: Improving Python (was: Lambda going out of fashion)

2004-12-25 Thread Aahz
In article <[EMAIL PROTECTED]>, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > >(I've said it before, and I'll say it again: native unicode and >generators are the only essential additions I've seen since 1.5.2, with >properties and sub-classable C types sharing a distant third place. >the rest of the

Re: Improving Python (was: Lambda going out of fashion)

2004-12-23 Thread Fredrik Lundh
Skip Montanaro wrote: > >Keith> My personal gripe is this. I think the core language, as of 2.3 >Keith> or 2.4 is very good, has more features than most people will ever >Keith> use, and they (Guido, et al.) can stop tinkering with it now and >Keith> concentrate more on the standard

Improving Python (was: Lambda going out of fashion)

2004-12-23 Thread Skip Montanaro
Keith> My personal gripe is this. I think the core language, as of 2.3 Keith> or 2.4 is very good, has more features than most people will ever Keith> use, and they (Guido, et al.) can stop tinkering with it now and Keith> concentrate more on the standard libraries. What keeps you