Linus Torvalds expressed frustration over the use of passive voice in merge commit messages, preferring active and imperative language instead.
He provided an example of how commit messages should be rewritten for clarity and consistency across the project.
Torvalds noted that while it’s not a major issue, it does add extra work when he has to rewrite messages to match his preference.
I read his message. He didn’t seem grumpy or frustrated to me; just encouraging folks to use a certain style that’s already in wide use, for reduced noise and better consistency.
The message:
Honestly, makes sense, the active voice version is just… more efficient and easier to parse quickly.
Weird the example he gave isn’t imperative, which I think would be “Fix a null pointer dereference in …”
This is the language I use, once I started I never looked back.
But it’s Linus so everybody likes to think everything he says is blunt and crass.
Any in many ways, that is the way engineers should speak to other engineers when analyzing a problem.
If two or more people can actually share a common goal of finding the best solution, everyone involved should be making sure that no time is wasted chasing poor solutions. This not only takes the ability to be direct to someone else, but it also requires that you can parse what others are telling you.
If someone makes something personal or takes something personal, they need a break. Go take a short walk or something. (Linus is a different sort of creature though. I get it.)
TBH, this is part of the reason I chose my doctor (GP). She is extremely direct when problem solving and has no problems theory-crafting out loud. Sure, we are social to a degree, but we share many of the same professional mannerisms. (We had a short discussion on that topic the other day, actually. I just made her job easier because I give zero fucks about being judged for any of my personal health issues.)
You still should use condoms.
When I see my Dr. or when I talk to other engineers?
Both, just us’em on your ears when talking to engineers.
“Torvalds complains” makes people click.
Agreed this is essentially a style guide.