Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
- Write tests.
- Use CI.
notThere76332dWhat does Cl mean?
Voxera9579332dGood thing you discovered it your self.
But its in my opinion not something to get hung up on. Get it fixed and evaluate why it happened.
Was the code difficult to work with or was there some strange dependencies.
Bugs happen all the time since almost no business is prepared to pay for the time and resources required to do full testing, just look at Boeing.
What we can do is identify code that is prone to cause bugs and refactor it to be easier to work with or add lots of unit tests around it to catch regressions.
And hopefully have a culture where bugs do not cause ridicule or reprimand unless one has really broken agreed protocol, like merging without code review or what ever quality testing you have.
AlmondSauce14644332dIf you introduced a more severe bug than the original one you solved, then you back out that change right away. Then the pressure is off while you find a fix.