|
|
|
|
|
by awesomeMilou
1009 days ago
|
|
Any sufficiently capable type system will make it possible to implement a form of functional programming. These advanced type systems are essentially a form of pre-compile time scripting to assert certain guarantees about user defined types. It's the same mechanism that makes C++ templates turing complete. |
|
[0] https://www.typescriptlang.org/docs/handbook/2/template-lite...