News for hackers. Stuff that matters.
Re:Difftastic: Syntax-aware structured diff tool by secondcoming on Thursday July 08, 2021 @04:34AM (#27769536)
How can he have crashes if it's written in Rust?
Re:Difftastic: Syntax-aware structured diff tool by dcminter on Thursday July 08, 2021 @04:40AM (#27769572)
Probably meaning 'panic' - e.g. unwrapping a Result without allowing for an error result.
Re:Difftastic: Syntax-aware structured diff tool by Wilfred on Thursday July 08, 2021 @12:34PM (#27774345)
Yep! There's a lot of .unwrap() and .expect() in the codebase, so it panics. Since it's Rust, you get a line number and an error message rather than a segfault.

I will tidy it up at some point, but I spend too much time throwing away ideas that don't work. Defensive code is silly if you delete it after!