News for hackers. Stuff that matters.
Re:Drunk Post: Things I've Learned as a Sr Engineer by actinium226 on Sunday May 30, 2021 @12:35PM (#27334424)
I agree with having empathy for future devs, but I think it only goes so far. I've often seen junior engineers unable to differentiate between code they don't understand and bad code.

Usually they end up thinking they can do a better job, decide to rewrite the thing from scratch, and take 10x longer to rewrite it than they thought it would take. And accomplish nothing in the end, because the thing they rewrote worked in the first place.

Re:Drunk Post: Things I've Learned as a Sr Engineer by MikeDelta on Sunday May 30, 2021 @01:05PM (#27334655)
Indeed, and during rewriting they realize why the original code was made that way and how it solves the problem more efficiently than their rewrite.
Re:Drunk Post: Things I've Learned as a Sr Engineer by derekja on Sunday May 30, 2021 @01:27PM (#27334856)
if they get to that point I’d say it was worth their time!
Re:Drunk Post: Things I've Learned as a Sr Engineer by lanstin on Monday May 31, 2021 @12:20PM (#27345624)
Yeah this is the best argument for rewrites. Rewrite what your group no longer understands.