this post was submitted on 08 Dec 2023
623 points (96.4% liked)

Programmer Humor

32425 readers
885 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 28 points 11 months ago (2 children)
[โ€“] [email protected] 12 points 11 months ago
[โ€“] [email protected] 1 points 11 months ago

I tried picking up rust for the AoC, but any program I wrote ended up unreadable cuz of this unwrap_or. It just allows too much chaining. Then again other options for chaining operations aren't much better, like match. Idk what I'm doing wrong or if rust never was meant to be readable.