Re:TypeScripts Type System Is Turing Complete
by ygra on Wednesday August 02, 2017 @02:22AM
(#14908353)
I think most people knowing C++ know that. But since then we've tried to avoid the same complexity in most newer languages. Thus, the fact that TypeScript, Java, and C# all have Turing-completeness more or less by accident in their type systems may be surprising. (Granted, template metaprogramming was also more an accidental discovery than a design goal of C++, but it's been around for a while longer.)
[ Parent
| on HN ]
There are no comments on this comment yet.