Settings

Theme

I Spent a Week on a 10-Line Code Change

warp.dev

6 points by michlim 3 years ago · 2 comments

Reader

michlimOP 3 years ago

tldr; My teammate solved a bug by finding a detailed commit message in Chromium’s repo. High-quality git commits are an underrated form of documentation.

  • raxxorraxor 3 years ago

    I would call it "better than nothing"-documentation as you probably have to be a bit desperate to look here for docs. Probably took effort to reverse engineer the behavior too or from someone that knows the in and outs of the mac window manager.

    Although thinking about it, it probably is common for window managers to have some kind of drag map because they also need to to allow to drag stuff with apps that completely crashed.

    But yes, really nice that the commit explained the change. By experience more extensive messages are available where others also invested an unexpected amount of time.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection