There's been a lot of writing about the Rust .unwrap() thing, but I also feel that the Box<dyn Error> thing is kind of bad. It gives me flashbacks to try: ... except: ... in Python. However, I have no idea how the Rust community feels about it.
There's been a lot of writing about the Rust .unwrap() thing, but I also feel that the Box<dyn Error> thing is kind of bad. It gives me flashbacks to try: ... except: ... in Python. However, I have no idea how the Rust community feels about it.
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/dabeaz/statuses/115576223733821798 on your instance and quote it. (Note that quoting is not supported in Mastodon.)