Sure, and neither am I (as you could guess from my username). But in programming it's very important to be exact in definitions and terminology, so sentences like above are not just me picking on a non-native, they actually clutter the learning process.
30
u/vanatteveldt Mar 22 '21
Comparing to return which runs once and stops, yield runs times you planed.That's the best answer? Really? :)
And the next sentence is another gem:
You can interpret return as return one of them, and yield as return all of them. This is called iterable.What does that even mean??