Summary
In this chapter, we covered a number of subjects that will help you tackle issues when they arise. The concepts we discussed will also help you become a better developer in Mendix (and beyond). It's important to also remember that issues will come up and bugs will occur! It happens to the best developers and the best applications – it's just part of development. However, it's often how the application handles them and how the development team reacts that will set you (and your app) apart.
In the Defensive programming section, we discussed trying to anticipate bad data. There are many ways to do with this, but we mainly discussed empty and blank checks, as well as writing defensively minded if
statements. This is especially important when dealing with third-party data such as when you're consuming an API, for example.
After this, we saw that no matter how well you write your code, errors will occur. Due to this, we discussed the importance...