Hacker News new | ask | show | jobs
by cryptonector 2268 days ago
Hand-coding state machines approximates hand-coding continuation passing style (CPS) transformation.

Generators are essentially similar to automatic CPS transformation.