I love "mature" projects. I just deleted an angular router guard that was apparently only added for debugging in 2018, and the only route it was guarding was deleted in 2019.

In total, this one guard took multiple hours of work due to angular updates and such causing it to break compilation.

Not a single person thought about removing, or even rewriting it. This might be due to two things: the people that were part of this team back then are no longer in the company, and guard was called "AuthGuard"

Add Comment