Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29522

Re: Python presentations

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <dihedral88888@googlemail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'syntax': 0.03; 'subject:Python': 0.05; 'decorator': 0.07; 'emulate': 0.07; 'ugly': 0.07; 'unittest': 0.07; 'python': 0.09; 'enhancements': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'programmer': 0.11; '(but': 0.15; 'non-trivial': 0.16; 'sugar': 0.16; 'url:blogs': 0.16; 'wrappers': 0.16; 'module,': 0.17; 'skip': 0.17; 'written': 0.20; 'import': 0.21; 'decorators': 0.22; 'minutes.': 0.23; 'cc:2**1': 0.24; 'testing': 0.24; 'least': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'received:209.85.212': 0.28; 'objects': 0.29; 'probably': 0.29; 'symbol': 0.33; 'form.': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'whatever': 0.35; 'adds': 0.35; 'from:addr:googlemail.com': 0.35; 'process,': 0.35; 'similar': 0.35; 'received:209.85': 0.35; 'explain': 0.36; 'but': 0.36; 'test': 0.36; 'should': 0.36; 'york': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'think': 0.40; 'easy': 0.60; 'link': 0.60; 'first': 0.61; 'back': 0.62; 'url:p': 0.63; 'worth': 0.63; 'love': 0.63; 'more': 0.63; 'gave': 0.65; 'andrea': 0.84; 'fact.': 0.84; 'powerpoint': 0.84; 'reminds': 0.84; '8bit%:70': 0.91; 'received:209.85.212.56': 0.91; 'lot,': 0.95
Newsgroups comp.lang.python
Date Wed, 19 Sep 2012 12:43:57 -0700 (PDT)
In-Reply-To <mailman.926.1348072945.27098.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=123.192.32.215; posting-account=5JdMBQoAAABHnS4mjpqEzxnmWtgiiVNw
References <CAF_E5JZE5pACo2a36WT=eYzikf8HzCfUqateYrSjY8fxP9wr9g@mail.gmail.com> <20120919022003.GB61866@snakebite.org> <mailman.926.1348072945.27098.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 123.192.32.215
MIME-Version 1.0
Subject Re: Python presentations
From 88888 Dihedral <dihedral88888@googlemail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.938.1348083840.27098.python-list@python.org> (permalink)
Lines 77
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348083840 news.xs4all.nl 6978 [2001:888:2000:d::a6]:51488
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29522

Show key headers only | View raw


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.








Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web