When bugs inevitably make their way into production firmware, defensive programming practices give you peace of mind that your devices will keep running despite issues occurring in the background. However, defensive programming can lead to more issues than it solves if not used carefully.
Often the better approach to take is to use the practice of offensive programming, which will help surface issues more quickly and easily and help you iterate towards bug-free firmware and a better overall product experience.
Watch this recorded webinar to learn how you can detect and fix bugs faster and more easily. Memfault Co-Founder Tyler Hoffman covers:
Tyler Hoffman is a Co-founder of Memfault and an embedded engineer with a passion for improving the productivity of development teams. Tyler is now a co-founder and engineer at Memfault and previously worked at Fitbit and Pebble as a firmware developer.