Offline

The art of yield

Track:
Python Core, Internals, Extensions
Type:
Talk
Level:
intermediate
Room:
North Hall
Start:
13:55 on Friday, 18 July 2025
End:
14:25 on Friday, 18 July 2025
Duration:
30 minutes
View in the schedule

Abstract

Can you imagine a python project without any return? Is it overhead or memory saving? Is it complicated or would it reduce complexity? Is it testable or a horror for unittesting?

The general idea of this talk is: to effectively use generators in code, we need to change our programming style, and it's not too easy, but it's possible. During my talk I will convert functions and methods from the project into generators, and we will see what is effective, what is not, and where it is still better to use returns.

Recording

Play