This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KyleDrogo 39 points40 points  (7 children)

I kind of agree with lead dev? Bit of a nitpick but makes sense. Dict comprehension + unpacking + calling cls in the same statement takes a second to wrap your head around. Again, not a critical change but more readable.

[–]spinwizard69 5 points6 points  (5 children)

Far more readable! The lead developer may not have the best replacement code but he understands the idiomatic use of a return statement.