Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80500
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: What does zip mean? |
| Date | 2014-11-10 19:39 -0500 |
| References | <m3qs33$n66$1@reader1.panix.com> <20141110203601.GA69721@cskk.homeip.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15645.1415666382.18130.python-list@python.org> (permalink) |
On 11/10/2014 3:36 PM, Cameron Simpson wrote: > On 10Nov2014 17:19, Grant Edwards <invalid@invalid.invalid> wrote: >> On 2014-11-10, giacomo boffi <giacomo_boffi@inwind.it> wrote: >>> To help you understanding what is the `zip` builtin, please forget >>> about PKZip etc and think about the _zip fastener_ or _zipper_ in >>> your bag or in your trousers >>> >>> In the bag you have two sequences of teeth that the zipper >>> binds together in interlocking pairs >> >> No, you don't. That's not how a zipper works. Each tooth from side A, >> isn't bound with one from side B. It's bound with _two_ of them from >> side B. And each of those is in turn bound with an additional tooth >> from side A, and so on... > > This is true, but the analogy is still the correct one:-) Perhaps ironically in this context, zippers replaced hook-and-eye fastening, where the two sequences *are* matched in parallel. "Hookless fastener" was one of the original names (Wikipedia). -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What does zip mean? satishmlmlml@gmail.com - 2014-11-09 02:44 -0800
Re: What does zip mean? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-09 21:58 +1100
Re: What does zip mean? milos zorica <miloshzorica@gmail.com> - 2014-11-09 08:06 -0300
Re: What does zip mean? giacomo boffi <giacomo_boffi@inwind.it> - 2014-11-10 17:48 +0100
Re: What does zip mean? Grant Edwards <invalid@invalid.invalid> - 2014-11-10 17:19 +0000
Re: What does zip mean? Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-11-11 10:04 +1300
Re: What does zip mean? Cameron Simpson <cs@zip.com.au> - 2014-11-11 07:36 +1100
Re: What does zip mean? Terry Reedy <tjreedy@udel.edu> - 2014-11-10 19:39 -0500
Re: What does zip mean? giacomo boffi <pecore@pascolo.net> - 2014-11-13 23:10 +0100
Re: What does zip mean? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-14 22:06 +1100
csiph-web