4 ms·
I'm fairly certain that any sufficiently powerful type system would need to end up being a Turing-complete programming model in its own right, and since I've al
by camccann 17y ago
I'm fairly certain that any sufficiently powerful type system would need to end up being a Turing-complete programming model in its own right, and since I've already got one of those (I'm writing my program in it) I generally pass on that and just write the unit tests :)
Programming language designers are way ahead of you on that one! If memory serves me, C++ templates and type inference in Haskell and ML are all Turing complete.
Then again, in a world where XML transforms and typesetting are Turing complete, this isn't too shocking, I guess...
- kingkilr 17y agoC++ templates are turning complete.