|
|
|
|
|
by mintplant
1913 days ago
|
|
That doesn't work if you're using types for anything beyond correctness-checking. Type-driven dispatch, for example, which tends to be used heavily in big compiler and interpreter projects. And tagged unions (or algebraic datatypes), a natural fit for representing ASTs, become more unwieldy without type-directed features like pattern matching. |
|
Smalltalk and everything since then would like a word with you.
> And tagged unions (or algebraic datatypes) [...] type-directed features like pattern matching.
Erlang and Prolog would like to have a chat, too.