I've been rewriting how difftastic calculates hunks, and it's beginning to look good!
Alignment is a crazy hard problem. Added/removed items have no corresponding item on the other side. You can't use even previous line text (see left line 219) as previous lines may not match.
miniblog.
Related Posts
I've never seen a good design philosophy on how to sort compiler errors for the best UX.
Do you order by line, or by severity? Do you put the most actionable at the end (because that's most visible when the terminal scrolls) or at the beginning?
I'm beginning to suspect that the act of writing a blogging engine is just to trick yourself into writing a few blog posts.
I'm writing some docs in markdown, and I'm really glad I can use arbitrary HTML when I need to. It's so handy when you hit the limits of markdown (e.g. tables, named anchors, custom styling).
It's dangerous when you have untrusted input, but I'm beginning to appreciate it.
