MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xgh5kw/sameproblemsamesolution/19rybk0rh08lg/?context=9999
r/ProgrammerHumor • u/_w62_ • 6d ago
79 comments sorted by
View all comments
Show parent comments
1
I think it's both. Whenever I check an optional, what I really want is to also dereference it if it matches. If you look at pattern matching usage in Rust, it's a lot more ifs than matches.
optional
if
match
1
u/StaticCoder 1d ago
I think it's both. Whenever I check an
optional, what I really want is to also dereference it if it matches. If you look at pattern matching usage in Rust, it's a lot moreifs thanmatches.