Wednesday, January 28, 2015

When Not to Use Generator Expressions

http://stackoverflow.com/a/26635939

I found that post very helpful. I didn't know it's a better idea to use a list comprehension rather than a generator expression for "".join().

No comments:

Post a Comment