Re:Google Python Style Guide
by olau on Saturday February 11, 2023 @05:34AM
(#34751107)
> This article also highlights some pain points I have with python. They say avoid big list comprehensions, but there is no nice way of piping data in Python one can switch to instead. Especially with lambdas being so underpowered (so they also say to avoid).
Write generator functions, i.e. functions that yield their results. They are surprisingly powerful. I usually find I need only one or two.
Write generator functions, i.e. functions that yield their results. They are surprisingly powerful. I usually find I need only one or two.