Why I still hand write my commit messages

29 points by JamieTanna


nickmonad

Even in the projects I run, I don't enforce this on anyone - I've learned over the years it's not worth it to try and require it - and although I'm happy spending the time doing it, not everyone is as interested.

I don't maintain any large open-source projects, nor am I in a strictly management role at my company, so I admit I don't have as much experience here but I would certainly take a stronger stance on this if I was in a position to.

Getting an LLM to write code is one thing but offloading the reasoning behind the code and communication of the change is something I really feel like we can't give up or allow to degrade. If we aren't going to code anymore, then what exactly are we going to do, if not take the time to communicate our own ideas with our own voice? Anyone seriously pushing heavy LLM usage in software development loses all credibility if they try to simultaneously say "taste, design, and understanding still matter" while also using LLMs to write.

I deeply appreciate Oxide's position [0] on this:

If, however, prose is LLM-generated, this social contract becomes ripped up: a reader cannot assume that the writer understands their ideas because they might not so much have read the product of the LLM that they tasked to write it. If one is lucky, these are LLM hallucinations: obviously wrong and quickly discarded. If one is unlucky, however, it will be a kind of LLM-induced cognitive dissonance: a puzzle in which pieces don’t fit because there is in fact no puzzle at all. This can leave a reader frustrated: why should they spend more time reading prose than the writer spent writing it?

[0] https://rfd.shared.oxide.computer/rfd/0576#_llms_as_writers

chrismorgan

I don’t know how many times I’ve reworked or completely thrown away a commit and started again, because of things that I realised while writing the commit message; but it’s more than a few. I write 10–30 line messages very frequently (and have gone past 100 on occasion).

I encourage others to write long commit messages, but I don’t think I’ve ever really convinced anyone, at least not to my degree.

The best fun is fifty or more lines explaining a single-character change.

elliotmorris

I struggle to see the point of writing any commit message if you're not going to hand write it, what are you storing that I couldn't re-deduce with my own LLM?

I suppose the LLM could encode notes from your conversation that are only available in its context? Seems like a stretch.