3 ms·
No, in TypeScript's type system. As far as I know, recursion is the only method of iteration but the comment I was replying to seemed to imply otherwise.
by olalonde 3y ago
No, in TypeScript's type system. As far as I know, recursion is the only method of iteration but the comment I was replying to seemed to imply otherwise.
- explaininjs 3y agoThe comment does not imply otherwise
- olalonde 3y agoI thought you did because of the "would". So you're saying that TypeScript is not Turing complete?
- deleted 3y ago[deleted]
- explaininjs 3y agoNothing is Turing complete. But it is the stronger form of incomplete where even on a machine with truly unlimited memory it’d still be unable to model some (almost all, formally) executions.