New series: The Python Tourist

I've started writing what will (hopefully) be a series of articles about common pitfalls in Python programming. Originally I was going to call it "Things (Not) to do When Visiting Python", but shortened that to "The Python Tourist". "Tourist" being appropriate since I move around a lot between languages, and tend to forgot all those little "gotchas" while I'm away. I'll probably do one for PHP and maybe Javascript, as I start to learn more about those. If someone has already patented "The [whatever] Tourist" for a title, leave a comment and I'll try to think of something else. Smile

First article: Passing Mutable Objects as Default Args

Incidentally, there are several other similar lists out there already, "Python Warts", etc. I'm just documenting the ones that I tend to screw up, for my own quick reference.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Great stuff, but with no

Great stuff, but with no RSS/Atom feed, it will be a PITA to keep on top of new installments.

One feed for now

For now there is just the RSS/Atom from the main page, but I might add a separate feed for the series if I keep it going long enough.

[...] Over at boodebr.org,

[...] Over at boodebr.org, there’s a new series called “The Python Tourist”. It’s meant to be a series that highlights programming pitfalls in Python and from the first installment, “Passing Mutable Objects as Default Args”, it looks to be interesting. [...]

Cool. Great article! Looking

Cool. Great article! Looking forward to more installments...

The Python Tourist...

The Python Tourist... Over at boodebr.org, there’s a new series called “The Python Tourist”. It’s meant to be a series that highlights programming pitfalls in Python and from the first installment, “Passing Mutable Objects as Default Args&#8221...

import this. » Blog Archive » The Python tourist

[...] There’s a new series at boodebr.org called The Python Tourist. It aims to give news users some tips to avoid common pitfalls in Python programming, similar in some ways (sort of) to Python Warts. [...]

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.