News for hackers. Stuff that matters.
Re:Rust Is Eating JavaScript by epolanski on Monday February 17, 2025 @02:32PM (#43082499)
Golang's type system is not as expressive as TypeScript's.

It's fine to not know about the goods in the TypeScript ecosystem.

Again, I recommend you checking libraries like effect-ts or effect/schema or even better trying them.

https://effect.website/docs/getting-started/why-effect/

Re:Rust Is Eating JavaScript by hot_gril on Tuesday February 18, 2025 @01:10AM (#43086565)
To be honest, I don't like the look of Effect for the same reason I don't like error handling in Golang. It's easier to assume anything can fail (which is 99% correct) and use exceptions. But anyway, every language can be extended in many ways, so I can really only compare default vs default.