r/functionalprogramming • u/cekrem • Apr 07 '26
TypeScript Parse, Don't Validate — In a Language That Doesn't Want You To · cekrem.github.io
https://cekrem.github.io/posts/parse-dont-validate-typescript/
33
Upvotes
View all comments
Show parent comment
1
u/pthierry Apr 12 '26
Feel free to pretend it's not a real situation. As I said, "Parse, dont validate" was a very pragmatic response to a very real situation in existing codebases.
Also, in my experience, codes that follow that pattern are not a nightmare to maintain, quite the contrary. There's a reason this article gets around so much: people following it tend to like the result.