I'm still experimenting with patch display in difftastic.
The change to the imports are clearer in the patch mode, but the side-by-side mode does make the if/else changes more readable.
Patches are probably worthwhile anyway due to their machine readability.
miniblog.
Related Posts
I've started keeping a list of particularly interesting bugs and patches that I've worked on: https://github.com/Wilfred/interesting-code
The time that I once removed *a single closing paren* in Emacs is still my favourite.
Benchmarking the cost of array bounds checks in Rust code: https://blog.readyset.io/bounds-checks/
The author even patches rustc to make sure *all* bounds checks are gone, in order to compare the performance!
Remotely bricking satellite modems as part of (presumably) nation state hostilities: https://www.reversemode.com/2022/03/satcom-terminals-under-attack-in-europe.html
If over-the-air update systems aren't receiving regular patches, maybe it would be better for industry to use hardware that can't be reflashed remotely?


