A blog about the joys and perils of software development

Tag Archives: quality

Measure Your Code Un-coverage

Maximizing code coverage is not the way to maximize the benefits of unit testing. Instead (1) identify the most important user scenarios and (2) measure and analyze the code un-coverage. Continue reading

Zero Tolerance: Writing Good Software Is Tough

When I had the opportunity to participate in a new project with no dependencies on legacy code, I thought I would try something new, just for fun. Let’s call it zero tolerance: “when finding flawed code, fix it *now*”. […] It is tough on your mental health to just ignore the easy-to-reach reward and do the really boring stuff. […] I expected it to get easier over time. The funny thing is, the amount of code that needs to be fixed seems to be constant over time! How is that possible? Continue reading

Lean Software Development

In essence, “lean” means “reduce waste”, and “waste” means “everything that does not make your customers happier”. […] When a customer ask you for a feature, how long does it take until they get it (calendar time)? While implementing it, how much effective time have you spent on the feature? The difference between calendar time and implementation time is waste (since waiting makes your customer unhappy). […] Continue reading

Edge-To-Edge Unit Tests

Normally, when I write C++ code to test my C++ functionality, I tend to stay away from the “unit” level. Instead, I like tests that exercise the system edge-to-edge, resembling the interactions with the outside world as much as possible. […] Continue reading