News for hackers. Stuff that matters.
Re:Best practices for writing code comments by cerved on Friday December 24, 2021 @05:39AM (#29672438)
squash merge is evil
Re:Best practices for writing code comments by usr1106 on Friday December 24, 2021 @02:59PM (#29677176)
The author should squash useless commits. A readable series of commits is put to review. At merging to a commonly used branch no more squashing.
Re:Best practices for writing code comments by cerved on Saturday December 25, 2021 @04:46AM (#29681866)
Why?

Why doesn't the author make commits that are not useless?

Why squash everything into a single commit? Why not 2 commits, 3, 5?

Re:Best practices for writing code comments by reidjs on Friday December 24, 2021 @12:23PM (#29675423)
I feel differently, why don’t you like it?
Re:Best practices for writing code comments by notfed on Friday December 24, 2021 @12:55PM (#29675838)
The above-posted scenario is a great reason to hate it. It's destroying developers' documented rationale for each change.
Re:Best practices for writing code comments by cerved on Friday December 24, 2021 @12:59PM (#29675896)
it destroys information for no good reason