We've tried this so many times and we always have mixed results... (But, let's do it again :)<div><br></div><div>It'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's actually used a decorator, this will be boring as sin -- but for anyone who hasn't, this will be a good introduction (and that'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'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"><<a href="mailto:jim@well.com">jim@well.com</a>></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's seconded<br>
the decorators idea. i'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's pythonic. i'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 "pythonic" 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>
> > A newbie nugget is a short talk on a single<br>
> > feature of Python programming, maybe a technique<br>
> > or language feature or a built-in or..., that<br>
> > is from five to ten minutes and targets an<br>
> > experienced coder who is fairly new to Python.<br>
><br>
> That is me: an experienced coder fairly new to Python.<br>
> My 10 years of full time coding ended in 93, and since<br>
> then I've been managing developers or working with<br>
> developers but never doing code myself for my day job.<br>
><br>
> Now I'm working to get back on the keyboard because<br>
> frankly it is just more fun than all the other things<br>
> I can do.<br>
><br>
> So I don't want to give a newbie talk, but I'll suggest<br>
> newbie talk subjects that I'd like to attend.<br>
><br>
> - decorators - I've read about them and I get them in<br>
> theory, and I've looked at some examples in our code base,<br>
> but.... I feel like I'm missing the point.<br>
><br>
> - "pythonic" things that seem weird at first but then<br>
> wonderful once you get used to them<br>
><br>
> That is all I can think of right now. Maybe other newbies<br>
> can suggest a topic that will make someone else think:<br>
> hey, I guess I must be experienced because I could easily<br>
> explain that in 10 minutes.<br>
><br>
> Marla<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>
><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>