Summary: Writing, Debugging, and Testing Functions

Look at what we have covered in this chapter.

In this chapter, we explored the skill of creating functions that can be used repeatedly, using input values, and producing results. We used the tools in Visual Studio and Visual Studio Code to find and fix problems in our code. This included writing down what was happening in our program (logging) and checking our code thoroughly (unit tests). We also learned how to deal with unexpected situations that might happen when our program is running (exceptions). These abilities are like the building blocks that will help us construct programs that work well, are strong, and are well-designed as we continue our coding journey.

Let's recap the key takeaways:

Get hands-on with 1400+ tech skills courses.