miniblog.

← Back to all posts
24
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?

4 Comments

@wilfredh It depends. For example, if I'm compiling in an emacs window, I would probably want the most "important" messages first, but in a terminal window, I'd probably want them last.
@jewelpit Do you scroll back to the top? What if there's a syntax error early in the file and it's scrolled off your terminal?
@wilfredh Yeah, I don't mind scrolling back up to the top. I use a pretty brightly colored prompt, so it's not too difficult for me to see where the command invocation began even if scrolling quickly. If even that's not enough, I'll tee the compiler output to a file and read it in my text editor.