Python not a Very High-Level Language?

bjorn bjorn at roguewave.com
Mon Jan 3 12:24:07 EST 2000


Aahz Maruch wrote:

> In article <386E7BD4.514764EA at ndh.net>,
> Stefan Schwarzer  <s.schwarzer at ndh.net> wrote:
> >
> >The other topics which the author on the O'Reilly site, Greg Wilson,
> >mentions might also be worth considering. For example, I never needed
> >tuples (explicitly) yet, i. e. in a sense that lists would not work.
> >(If tuples would be taken out of the language or their use deprecated)
> >tuple un/packing would become list un/packing and so on.)
>
> Anyone who claims that tuples are unnecessary has never used a tuple as
> a dict key.  That requirement necessitates differentiating between a
> mutable and immutable list -- might as well stick with tuples.
> --

So what you're saying is that dicts are broken since they can't take lists as keys
<wink>.

undefined-behavior-isn't-always-bad'ly y'rs
-- bjorn






More information about the Python-list mailing list