All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Critique of Static Type Systems: Extending Beyond OOP to Functional Programming

By

ksymph

10mo ago· 10 min readenInsight

Summary

The article critiques the limitations of static type systems, extending Casey Muratori's critique from OOP to functional programming. It discusses the 'correctness hierarchy' of type systems, with languages like Idris and Haskell at the top, and highlights the challenges in making 'illegal states unrepresentable.' The piece argues that this issue is pervasive across programming paradigms.

Key quotes

· 3 pulled
Type systems are often ranked in a 'correctness hierarchy', with Idris/Haskell at the top, Java/C# in the middle, Python/JavaScript at the bottom.
The problem extends beyond OOP to encompass a broader pattern in static type systems, particularly functional programming approaches that attempt to 'make illegal states unrepresentable.'
Building on Casey Muratori's critique of 'compile time hierarchies that match the domain model,' this problem extends beyond OOP.
Snippet from the RSS feed
Building on Casey Muratori's critique (youtube) of "compile time hierarchies that match the domain model," this problem extends beyond OOP to encompass a broader pattern in static type systems, particularly functional programming approaches that attempt t

You might also wanna read