Developer Mindfulness

The TODO Comment

A developer added a comment: // TODO: fix this later. Five years later, the comment was still there. The developer had left the company. The code worked. The senior developer asked the team, “Whose TODO is this now?” No one answered. The senior added, “And what does it mean to fix something that does not […]

The Code Coverage

The team achieved 100% test coverage. They celebrated their thoroughness. The senior developer asked, “What percentage of your understanding is covered?” And then, “If every line is tested, what remains untested?” Understanding the Koan We treat code coverage as a destination, a number that validates our diligence. When that metric reaches 100%, we feel we’ve […]