Always Leave the Code Better than You Found It - Boy Scout Engineering 101

Always Leave the Code Better than You Found It - Boy Scout Engineering 101

Most engineers have heard of the ‘boyscout rule’: ‘Always leave the code better than you found it.’ It’s often been heralded as a magic cure for technical debt; if only all software engineers behaved like good citizens, our software wouldn’t deteriorate so relentlessly.

Another big factor in judging cleaning capacity is thinking about potential risk in adversely impacting existing features and the additional cost of regression testing.