3 ms·
Yes there are. For instance Idris (https://www.idris-lang.org/ https://www.idris-lang.org/) has a way more powerful typesystem than Typescript. If you are look
by valenterry 4y ago
Yes there are. For instance Idris (https://www.idris-lang.org/ https://www.idris-lang.org/) has a way more powerful typesystem than Typescript.
If you are looking for more practical and less academic languages, then Scala would be one of the languages that technically has a more powerful/generalized typesystem but at the same time is harder to use compared to Typescript's and cannot do some things that Typescript can do.
- mbrodersen 4y agoOther examples are Agda and Lean.
- adamddev1 4y agoI really like the intro page for Idris. > In type-driven development, types are tools for constructing programs. We treat the type as the plan for a program, and use the compiler and type checker as our assistant, guiding us to a complete program that satisfies the type. The more expressive the type is that we give up front, the more confidence we can have that the resulting program will be correct. Great stuff.