Hacker News new | ask | show | jobs
by the__alchemist 391 days ago
Great article by a rust legend. Two points:

  - The let-else syntax (Relatively new), anecdotally, removes many of my cases for unwrap. (But this may not apply to how others use it)
  - Unwrap's fine if it makes the code easier-to-read and you know it won't panic for a reason the compiler doesn't know about.