[Python-Dev] Lukewarm about range literals (original) (raw)

Greg Wilson gvwilson@nevex.com
Mon, 28 Aug 2000 19:02:29 -0400 (EDT)


Charles wrote: When I was a complete Python newbie (back around 1994) I thought that the syntax

l2 = l1[:] for copying lists looked pretty mysterious and weird. But after spending some time programming Python I've come to think that the slice syntax is perfectly natural. Should constructs be banned from the language simply because they might confuse newbies?

Greg writes: Well, it is the reason we switched from Perl to Python in our software engineering course...

Greg