Viewing profile — tristan-morris
tristan-morris
HN member- Joined
- Tue, Nov 18, 2025, 11:53 PM UTC
- HN karma
- 8
- Public activity
- 3 items
- HN profile
- View on Hacker News ↗
About tristan-morris
https://github.com/tristan-morris
Recent public activity
-
comment
Comment #45974114
And rust, but they chose to panic on the error condition. Wild.
-
comment
Comment #45974097
Oh absolutely, that's how it would have been treated. Surely a unwrap_or_default() would have been a much better fit--if fetching features fails, continue processing with an empty …
-
comment
Comment #45973932
Why call .unwrap() in a function which returns Result ? For something so critical, why aren't you using lints to identify and ideally deny panic inducing code. This is one of the b…