News for hackers. Stuff that matters.
Re:Monads in C# (Part 2): Result by gr4vityWall on Monday January 05, 2026 @07:00AM (#46497767)
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.

There are no comments on this comment yet.