Global Feed Post Login
Replying to Avatar Ingwie Phoenix (aka. birb)

I might have grown to hate Go's

```go

if err != nil {

// Throw stuff here

}

```

system for handling errors - it feels repetitive, so utterly copy-pasta... But, I still want to do more with it, because the rest of the syntax is super easy to pick up on. o.o

Next target is Rust. Way more complex, but I just gotta Box my knowledge in something nice. :) And hopefuly I don't forget to borrow the space for it...

Avatar
j 2y ago

You could just yolo and replace err with _

Reply to this note

Please Login to reply.

Discussion

No replies yet.