Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56815
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-10-14 09:39 -0700 |
| References | <707e67a6-c398-4d0a-a058-76b8bf2829f0@googlegroups.com> <c491789f-6251-4361-b054-a6dc6474199a@googlegroups.com> |
| Message-ID | <6ee40b6d-ed29-40a4-bdb9-a7dd74bb4417@googlegroups.com> (permalink) |
| Subject | Re: closure = decorator? |
| From | Tim <jtim.arnold@gmail.com> |
On Saturday, October 12, 2013 4:54:34 PM UTC-4, Peter Cacioppi wrote: > On Thursday, October 10, 2013 6:51:21 AM UTC-7, Tim wrote: > > > I've read a couple of articles about this, but still not sure. > > When someone talks about a closure in another language (I'm learning Lua on the side), is that the same concept as a decorator in Python? > > > It sure looks like it. > > Thanks everyone for discussing. I see that closures are completely different from decorators and now I'm not really sure how I got them confused in the first place. I will have to stare at the replies for a while before I can say I really 'get' closures. thanks, --Tim
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
closure = decorator? Tim <jtim.arnold@gmail.com> - 2013-10-10 06:51 -0700
Re: closure = decorator? Chris Angelico <rosuav@gmail.com> - 2013-10-11 01:03 +1100
Re: closure = decorator? Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-10-10 17:15 +0300
Re: closure = decorator? Piet van Oostrum <piet@vanoostrum.org> - 2013-10-10 12:31 -0400
Re: closure = decorator? Roy Smith <roy@panix.com> - 2013-10-10 20:04 -0400
Re: closure = decorator? Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-10-11 10:14 +0300
Re: closure = decorator? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-11 09:24 +0000
Re: closure = decorator? Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-10-11 15:01 +0300
Re: closure = decorator? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-11 16:44 +0000
Re: closure = decorator? Terry Reedy <tjreedy@udel.edu> - 2013-10-11 16:51 -0400
Re: closure = decorator? Franck Ditter <nobody@nowhere.org> - 2013-10-11 14:08 +0200
Re: closure = decorator? Terry Reedy <tjreedy@udel.edu> - 2013-10-11 16:55 -0400
Re: closure = decorator? Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-10-10 17:08 +0300
Re: closure = decorator? Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-10-12 13:54 -0700
Re: closure = decorator? Tim <jtim.arnold@gmail.com> - 2013-10-14 09:39 -0700
csiph-web