Python Interview Questions

Chris Angelico rosuav at gmail.com
Wed Sep 5 10:36:50 EDT 2012


On Thu, Sep 6, 2012 at 12:34 AM, Chris Angelico <rosuav at gmail.com> wrote:
> However, this strikes me as encouraging some really
> inefficient code, like iterating over all the rows in a table with N+1
> queries (one to get the length, then a separate query for each row).

Huh. And then I scroll down, and that's precisely what he's doing. Do
you understand why this is a bad thing to do?

ChrisA



More information about the Python-list mailing list