[Python-ideas] Mutable default arguments - another approach

Jan Kanis jan.kanis at phil.uu.nl
Wed Jan 31 01:33:47 CET 2007


Nah, this is all old school. If this pep is gonna succeed it needs some  
buzzwords like Web 2.0:
The interpreter should check with google what kinds of programming-related  
search terms the programmer has used and for how long. Using google  
desktop search, it can also include the kind of documents the programmer  
has and when he's read them. With GvR working where he is, I don't think  
implementing this is going to be a big problem.
;-)

On Tue, 30 Jan 2007 23:11:18 +0100, George Sakkis <gsakkis at rutgers.edu>  
wrote:

> On 1/30/07, Roman Susi <rnd at onego.ru> wrote:
>
>> Maybe Python interpreter could be better at deciding if the programmer
>> which wrote the code is novice or experienced.
>>
>> For example,
>>
>> from __present__ import _I_AM_PYTHON_EXPERT
>>
>> at the beginning of each module will do ;-)
>
> That would be a good start, but certainly not the end; how about
> programmers who *read* other people's code ? Their experience level
> may well be quite different, and the code should be understandable by
> these poor souls too. The python source files would have to be able to
> sense when they're being read or printed, determine the experience
> level of the reader and transform themselves to accomodate his level.
> Anyone wanna write the PEP for Python-7000 ? ;-)
>
> George
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas





More information about the Python-ideas mailing list