Remix.run Logo
clausecker 7 months ago

Yes and that syntax sucks.

lionkor 7 months ago | parent [-]

That sounds like your opinion rather than a "it sucks because it encouraged bad practices" or something

clausecker 7 months ago | parent [-]

if err != nil { return err; } is an antipattern. Codifying it through builtin constructs does not change this, but instead encourages such poor error handling. That's why try sucks.