Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29507 > unrolled thread
| Started by | andrea crotti <andrea.crotti.0@gmail.com> |
|---|---|
| First post | 2012-09-19 17:42 +0100 |
| Last post | 2012-09-19 12:43 -0700 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Python presentations andrea crotti <andrea.crotti.0@gmail.com> - 2012-09-19 17:42 +0100
Re: Python presentations 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-19 12:43 -0700
Re: Python presentations andrea crotti <andrea.crotti.0@gmail.com> - 2012-09-24 16:42 +0100
Re: Python presentations 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-19 12:43 -0700
| From | andrea crotti <andrea.crotti.0@gmail.com> |
|---|---|
| Date | 2012-09-19 17:42 +0100 |
| Subject | Re: Python presentations |
| Message-ID | <mailman.926.1348072945.27098.python-list@python.org> |
2012/9/19 Trent Nelson <trent@snakebite.org>: > > FWIW, I gave a presentation on decorators to the New York Python > User Group back in 2008. Relevant blog post: > > http://blogs.onresolve.com/?p=48 > > There's a link to the PowerPoint presentation I used in the first > paragraph. It's in .pptx format; let me know if you'd like it in > some other form. > > Regards, > > Trent. Ok thanks a lot, how long did it take for you to present that material? Interesting the part about the learning process, I had a similar experience, but probably skip this since I only have 30 minutes. Another thing which I would skip or only explain how it works are parametrized decorators, in the triple-def form they just look to ugly to be worth the effort (but at least should be understood).
[toc] | [next] | [standalone]
| From | 88888 Dihedral <dihedral88888@googlemail.com> |
|---|---|
| Date | 2012-09-19 12:43 -0700 |
| Message-ID | <2ea7c371-ae27-4d6c-9828-c97a86cec349@googlegroups.com> |
| In reply to | #29507 |
andrea crotti於 2012年9月20日星期四UTC+8上午12時42分50秒寫道: > 2012/9/19 Trent Nelson <trent@snakebite.org>: > > > > > > FWIW, I gave a presentation on decorators to the New York Python > > > User Group back in 2008. Relevant blog post: > > > > > > http://blogs.onresolve.com/?p=48 > > > > > > There's a link to the PowerPoint presentation I used in the first > > > paragraph. It's in .pptx format; let me know if you'd like it in > > > some other form. > > > > > > Regards, > > > > > > Trent. > > > > > > Ok thanks a lot, how long did it take for you to present that material? > > > > Interesting the part about the learning process, I had a similar > > experience, but probably skip this since I only have 30 minutes. > > > > Another thing which I would skip or only explain how it works are > > parametrized decorators, in the triple-def form they just look to ugly > > to be worth the effort (but at least should be understood). I think the decorator part is reasonable in testing and prototyping. Every layor of some decorator just adds more overheads, therefore, the syntax sugar of the symbol @ just reminds the programmer the fact. Acctually writing better wrappers for non-trivial enhancements to objects or functions should be practiced by professionals. It is easy to import objects written by others in python. It is also user responsible to test and enhance the objects from others by decorators, the unittest module, or whatever suitable. I love to play with functions with a varable representing the time in writing computer games that emulate hundreds to thousands of animated obects.
[toc] | [prev] | [next] | [standalone]
| From | andrea crotti <andrea.crotti.0@gmail.com> |
|---|---|
| Date | 2012-09-24 16:42 +0100 |
| Message-ID | <mailman.1197.1348501374.27098.python-list@python.org> |
| In reply to | #29521 |
For anyone interested, I already moved the slides on github (https://github.com/AndreaCrotti/pyconuk2012_slides) and for example the decorator slides will be generated from this: https://raw.github.com/AndreaCrotti/pyconuk2012_slides/master/deco_context/deco.rst Notice the literalinclude with :pyobject: which allows to include any function or class automatically very nicely from external files ;)
[toc] | [prev] | [next] | [standalone]
| From | 88888 Dihedral <dihedral88888@googlemail.com> |
|---|---|
| Date | 2012-09-19 12:43 -0700 |
| Message-ID | <mailman.938.1348083840.27098.python-list@python.org> |
| In reply to | #29507 |
andrea crotti於 2012年9月20日星期四UTC+8上午12時42分50秒寫道: > 2012/9/19 Trent Nelson <trent@snakebite.org>: > > > > > > FWIW, I gave a presentation on decorators to the New York Python > > > User Group back in 2008. Relevant blog post: > > > > > > http://blogs.onresolve.com/?p=48 > > > > > > There's a link to the PowerPoint presentation I used in the first > > > paragraph. It's in .pptx format; let me know if you'd like it in > > > some other form. > > > > > > Regards, > > > > > > Trent. > > > > > > Ok thanks a lot, how long did it take for you to present that material? > > > > Interesting the part about the learning process, I had a similar > > experience, but probably skip this since I only have 30 minutes. > > > > Another thing which I would skip or only explain how it works are > > parametrized decorators, in the triple-def form they just look to ugly > > to be worth the effort (but at least should be understood). I think the decorator part is reasonable in testing and prototyping. Every layor of some decorator just adds more overheads, therefore, the syntax sugar of the symbol @ just reminds the programmer the fact. Acctually writing better wrappers for non-trivial enhancements to objects or functions should be practiced by professionals. It is easy to import objects written by others in python. It is also user responsible to test and enhance the objects from others by decorators, the unittest module, or whatever suitable. I love to play with functions with a varable representing the time in writing computer games that emulate hundreds to thousands of animated obects.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web