Language constructs we should not use.

Yesterday we were talking about the outcome of this thread with Ahmed in IRC, and we all agreed on the fact that importing * from anywhere isn’t a good idea for several reasons. Similar caution apply when it comes to code python scripts.

This talking took my memory to a Moshe Zadka’s article: Idioms and Anti-Idioms in Python. It’s essentially a list of language construct based tips on how to use Python or better said, how not to use it. Once Ahmed wrote a similar list towards optimization too. If we find it appropiate it may accompany the spirit of this post, for the joy and enthrallment of the big audiences.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Meneame
  • Reddit
  • StumbleUpon

Post a Comment

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>