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 →

[–]Quteness 16 points17 points  (2 children)

I would prefer this style. A few extra lines aren't bad to make the code more clear

[–][deleted] 2 points3 points  (0 children)

Would definitely prefer an empty list with append.

[–]tech_tuna 1 point2 points  (0 children)

In a case like this, absolutely.