Comment on Golang be like

<- View Parent
arc@lemm.ee ⁨1⁩ ⁨year⁩ ago

Swift and Rust have a far more elegant solution. Swift has a pseudo throw / try-catch, while Rust has a Result<> and if you want to throw it up the chain you can use a ? notation instead of cluttering the code with error checking.

source
Sort:hotnewtop