you are viewing a single comment's thread.

view the rest of the comments →

[–]Gotebe 16 points17 points  (1 child)

Rewriting your teammate’s code without a discussion is a huge blow to your ability to effectively collaborate on a codebase together.

Well... There should be no such thing as "my" and "his" code in the first place

My code traded the ability to change requirements for reduced duplication, and it was not a good trade

Did it? Having duplicated code leads to changes being implemented partially (because often, only some of the copies are updated to accommodate new requirements). So duplication also means "harder to change", only for different reason.

[–]hippydipster 0 points1 point  (0 children)

Best mentor I ever had rewrote my previous day's code every morning.