This week we looked at tracing and assertion. Tracing functions can become difficult as you look at functions that take other functions as parameters and so on. It becomes more tedious in terms of going back and forth to evaluate what's expected to be returned.
We also learned about assertion. We can assert certain conditions when the function is called. This allowed for debugging to become easier. I didn't understand its usefulness until completing the lab.
No comments:
Post a Comment