Stringent quality control helps eliminate bugs. Tools can help prevent them from ending up in production code. We can use type-safe languages, heed compiler warnings, adopt specialized bug-finding tools, and adjust our code to locate bugs during testing.