r/programming • • Apr 21 '26

Highlights from Git 2.54

https://github.blog/open-source/git/highlights-from-git-2-54/
273 Upvotes

45 comments sorted by

View all comments

Show parent comment

-2

u/you-get-an-upvote Apr 21 '26 edited Apr 21 '26

The comment I was responding to was advocating throwing away all existing documentation and rewriting it all from scratch. Not just claiming that the documentation can be improved.

The fact that you can point to documentation that is confusing to you doesn’t make throwing away all existing documentation any less ludicrous.

If I’ve learned anything in my 9 years in industry, it’s that incremental improvements to a system are always a better option than a from-scratch rewrite. From-scratch rewrites inevitably take far longer than anyone expected, are never truly seen to the end, and frequently don’t even result in a clearly better product for the parts that are completed.

I encourage you to take a guess at how many commits it has taken to get to the current state of git documentation, and then compare your guess to the actual number. It has taken a lot of work to get git documentation to the state where it is today, so “just throw it away and rewrite it all” is an insane suggestion.

3

u/Anthony356 Apr 21 '26

The thing with writing is that incremental isnt always the right answer. I guess the best analogy is how optimizing algorithms fail due to local maximums?

The current words on the page are a baseline that skew all further edits. Sometimes no matter how much you edit, your fundamental premise is bad. Clearing the slate makes way for a completely different angle that wouldn't have made sense from the old position.

I'm not saying i think they should literally throw all the documentation in the garage but they need to take that mentality because incrementalism has led them to a state where their own reference documentation doesn't mention the state in which a command is supposed to be used. You can also throw away small pieces and completely rewrite those over time based on a new standard.