Yuichi Nishiwaki (2013-08-31T19:55:27.000Z)
domenic at domenicdenicola.com (2013-09-08T00:53:22.273Z)
I can't get the point, why you need to know if the function is a generator or not at a glance? 1. Forcing users to mark the function as a generator is only a duplication. It basically doesn't have any meaning other than double-checking, and fundamental risk for the unintentional creation is still not removed. 2. Even if you know the function is a generator in early, you still need to read the entire source code to get the information about what the generator yields and when it stops.