| ▲ | epolanski 6 hours ago | |||||||||||||||||||||||||||||||
> Effect is there to find a solution but will fail. What do you mean? I'm into Effect from long time and it really scales well the more complex your applications. Schema is way more advanced than Zod by the way, both at type level and functionality it has a proper decoder/encoder architecture. You can encode "this isn't just a string -> non-empty-string -> valid email pattern" but a confirmed email the user has clicked on at the type level, by leveraging effectful schemas (and durable workflows if you want). You may not need it 99% of the time, I myself rarely use that, but it's not a fair comparison. Zod is more ergonomic, has easier apis and is perfect for most users. Would not recommend schema unless one buys the whole package. | ||||||||||||||||||||||||||||||||
| ▲ | programmarchy 5 hours ago | parent [-] | |||||||||||||||||||||||||||||||
I haven’t used Effect but the problem I see with using it is that it seems to want to completely swallow the whole app architecture. At that point, why not just use a functional language? | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||