I've been reading about the yield keyword in Python lately, and in the process I learned about the coroutine design pattern. I read about it in JavaScript a while back and played a bit with generator functions. The languages are pretty similar as far...

Markdown supported · ⌘↵ to post
No responses yet.