164
Go vs Rust learning (programming.dev)
submitted 4 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 4 points 4 months ago

I don't like the rust way either. But at least you can unwrap

[-] [email protected] 20 points 4 months ago

With some sprinkle of libraries such as anyhow and thiserror the Rust errors become actually pleasant to use. The vanilla way is indeed painful when you start handling more than one type of error at a time.

[-] [email protected] 5 points 4 months ago

Exactly this. Anyhow makes error handling in rust actually a joy. It's only something you need to consider if you're writing a library for others to use, and in that case, it's good that rust forces you to be very very explicit

this post was submitted on 15 May 2024
164 points (84.5% liked)

Programmer Humor

19274 readers
613 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS