Know a great AI tool or AI news source? Submit it to AiByts
First Edition6 min read

Item 17: Be Defensive When Iterating Over Arguments

When a function takes a list of objects as a parameter, it’s often important to iterate over that list multiple times.

By Brett SlatkinEffective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog
Item 17: Be Defensive When Iterating Over Arguments

Read the full story

Originally published by Effective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog on Jan 4, 2015.

Read on Effective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog(opens in a new tab)

Comments

Sign in to join the discussion.

No comments yet — be the first to share your thoughts.