We&#39;ve tried this so many times and we always have mixed results... (But, let&#39;s do it again :)<div><br></div><div>It&#39;s *hard* to make a decorator talk as a newbie nugget - and explain in a clear and concise way - such a new concept.</div>
<div><br></div><div>What if we broke it down into a couple of different newbie nuggets?</div><div><br></div><div>What about the first one is:</div><div>1) How do I use a decorator?   (i.e., examples of common decorators and how they are useful)</div>
<div><br></div><div>For anyone who&#39;s actually used a decorator, this will be boring as sin -- but for anyone who hasn&#39;t, this will be a good introduction (and that&#39;s what newbie nuggets are for :)</div><div><br>
</div><div><br></div><div><br></div><div>Then, another month or another time, we can build on it and we can do a talk of:</div><div>2) How to write a basic decorator</div><div><br></div><div><br></div><div>I like the idea because it gives people a chance to use them first *before* we jump into writing them.... Also, there are tons of things we can leave out of the first talk -- just to keep it simple.</div>
<div><br></div><div><br></div><div><br></div><div>If we accept this very *very* basic explanation approach (and part/progressive method over months), I&#39;d consider doing the nugget...</div><div><br></div><div><br></div>
<div>Cheers,</div><div><br></div><div><br></div><div>Glen</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Mon, Jul 12, 2010 at 3:46 PM, jim <span dir="ltr">&lt;<a href="mailto:jim@well.com">jim@well.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
thanks, marla,<br>
   you probably noticed that alex kleider&#39;s seconded<br>
the decorators idea. i&#39;m betting that a regular<br>
beating^H^H^H^H^H^H^H^H repeating of decorator<br>
essentials is a good idea. now to find somebody to<br>
do the presentation.<br>
   i love the idea of what&#39;s pythonic. i&#39;d like to<br>
know. seems like multiple newbie nuggets, each<br>
focusing on one pythonic technique, would drill the<br>
sense of it home (and &quot;pythonic&quot; does seem a mind set<br>
that one acquires, like a taste for scotch whiskey).<br>
<br>
   got any more ideas?<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Mon, 2010-07-12 at 05:32 +0000, Marla Parker wrote:<br>
&gt; &gt;   A newbie nugget is a short talk on a single<br>
&gt; &gt; feature of Python programming, maybe a technique<br>
&gt; &gt; or language feature or a built-in or..., that<br>
&gt; &gt; is from five to ten minutes and targets an<br>
&gt; &gt; experienced coder who is fairly new to Python.<br>
&gt;<br>
&gt; That is me: an experienced coder fairly new to Python.<br>
&gt; My 10 years of full time coding ended in 93, and since<br>
&gt; then I&#39;ve been managing developers or working with<br>
&gt; developers but never doing code myself for my day job.<br>
&gt;<br>
&gt; Now I&#39;m working to get back on the keyboard because<br>
&gt; frankly it is just more fun than all the other things<br>
&gt; I can do.<br>
&gt;<br>
&gt; So I don&#39;t want to give a newbie talk, but I&#39;ll suggest<br>
&gt; newbie talk subjects that I&#39;d like to attend.<br>
&gt;<br>
&gt; - decorators - I&#39;ve read about them and I get them in<br>
&gt; theory, and I&#39;ve looked at some examples in our code base,<br>
&gt; but.... I feel like I&#39;m missing the point.<br>
&gt;<br>
&gt; - &quot;pythonic&quot; things that seem weird at first but then<br>
&gt; wonderful once you get used to them<br>
&gt;<br>
&gt; That is all I can think of right now.  Maybe other newbies<br>
&gt; can suggest a topic that will make someone else think:<br>
&gt; hey, I guess I must be experienced because I could easily<br>
&gt; explain that in 10 minutes.<br>
&gt;<br>
&gt; Marla<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Baypiggies mailing list<br>
&gt; <a href="mailto:Baypiggies@python.org">Baypiggies@python.org</a><br>
&gt; To change your subscription options or unsubscribe:<br>
&gt; <a href="http://mail.python.org/mailman/listinfo/baypiggies" target="_blank">http://mail.python.org/mailman/listinfo/baypiggies</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
Baypiggies mailing list<br>
<a href="mailto:Baypiggies@python.org">Baypiggies@python.org</a><br>
To change your subscription options or unsubscribe:<br>
<a href="http://mail.python.org/mailman/listinfo/baypiggies" target="_blank">http://mail.python.org/mailman/listinfo/baypiggies</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Whatever you can do or imagine, begin it;<br>boldness has beauty, magic, and power in it.<br><br>-- Goethe <br>
</div>