Comment on Golang be like

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

The exception handling question mark, spelled ? and abbreviated and pronounced eh?, is a half-arsed copy of monadic error handling. Rust devs really wanted the syntax without introducing HKTs, and admittedly you can’t do foo()?.bar()?.baz()? in Haskell so it’s only theoretical purity which is half-arsed, not ergonomics.

source
Sort:hotnewtop