Comment by gr4vityWall
3 days ago
I had a similar impression with using those constructs on TypeScript.
IMO it's hard to justify creating Option<T>/Result<T,E> wrappers when T|null and T|E will work well enough for the majority of use cases.
effect specifically feels like a different programming language altogether. And maybe going that path and compiling down to TS/JS could've been a better path for them. I'm not on the ecosystem though, so it's an uninformed thought.
No comments yet
Contribute on Hacker News ↗