Live data from Hacker News

Viewing profile — tristan-morris

tristan-morris

HN member
Joined
Tue, Nov 18, 2025, 11:53 PM UTC
HN karma
8
Public activity
3 items

About tristan-morris

https://github.com/tristan-morris

Recent public activity

  1. comment
    Comment #45974114

    And rust, but they chose to panic on the error condition. Wild.

  2. 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 …

  3. 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…