Can continuation passing style code perform well?
First of all, I don&#x27;t think you should program in CPS yourself but use proper language support if it&#x27;s available. Otherwise just leave it at that. Code is read much more often than written. You also don&#x27;t use Church-Encoding or De-Bruijn variables if you can avoid it.<p>Secondly, what&#x27;s the point when you have to inline? If your function would return an optional and you inline it, you would get the same effect from any decent compiler.