November 2023
Beginner to intermediate
828 pages
20h 28m
English
This chapter is about writing functions to reuse code, debugging logic errors during development, logging exceptions during runtime, unit testing your code to remove bugs, and improving stability and reliability.
This chapter covers the following topics:
A fundamental principle of programming is Don’t Repeat Yourself (DRY).
While programming, if you find yourself writing the same statements over and over again, then turn those statements into a function. Functions are like tiny programs that complete one ...
Read now
Unlock full access