Re: reduce()--what is it good for?

From: David C. Fox (davidcfox_at_post.harvard.edu)
Date: 11/10/03


Date: Mon, 10 Nov 2003 20:12:43 GMT

Alex Martelli wrote:

>>P. S. I've seen a lot of talk about removing old features from Python,
>>or specifically old built-ins, because of bloat. Does this "bloat"
>>reduce performance, or does it refer to the extra burden on someone
>>learning the language or reading someone else's code?
>
>
> A slightly larger memory footprint, and larger built-ins dictionaries,
> can only reduce runtime performance very marginally. The "cognitive
> burden" of having built-ins that "don't carry their weight", on the
> other hand, is considered an issue *in Python*, because it doesn't fit
> in with Python's general philosophy and worldview. Python is meant to
> be a LEAN language (with a not-lean standard library of modules that
> are specifically imported when needed); certain "legacy" features are
> sub-optimal (and best removed, when the strict constraint of backwards
> compatibility can be relaxed) because they interfere with that (and
> built-ins are close enough to "the core language" that they _do_ need
> to be weighed severely in terms of "how often will they be useful").

Thanks, that's what I was trying to understand.

David



Relevant Pages

  • Re: FoxTrot 8/10
    ... teachers would have gone back this past week and students would ... --some of whom were already reading and some who were not ... language, some of everything. ... makes learning the several hundred thousand words much easier. ...
    (rec.arts.comics.strips)
  • Re: Lets talk about langages (Advice/Help)
    ... I think it is better to complete learning a foreign language and become ... > (listening, reading, and speaking) I mean for learning purposes, at an ... visual memory of the words and phrases as well as prononciation. ...
    (sci.lang)
  • Re: Is "C For Dummies" any good?
    ... > I am new to programming and my uncle gave me a copy of "C For ... Learning C is (like learning any spoken language) learning ... Reading another one might add to your knowledge. ...
    (comp.lang.c)
  • Re: why the perl documents is hard to understand?
    ... > I am learning Perl now. ... > important tool for learning a language is to learn how to read its help ... That's because you are reading a reference manual, ...
    (comp.lang.perl.misc)
  • Re: Strong AI Thesis (No Chinese room, I promise)
    ... with the idea of a generic learning system at work. ... make vision work better, and language work better, etc. ... Logic, mathematics, and scientific method ology have ... recognized the limitations which linguistic practices im pose on ...
    (comp.ai.philosophy)