Hacker News new | ask | show | jobs
by newuser88273 4030 days ago
Scheme has come up with the idea of pretending that an undelimited contination is a function, which is somewhat true-ish... in the degenerate sense of a function with empty domain.

This is fine for Scheme, which is an expression language, so every method of invoking a continuation would, syntactically, be an expression anyway.

In C, which has statements, making return look like an expression is somewhat pointless. It doesn't matter whether C "has" continuations (and it arguably has) or not.