the opportunity to experience it from the perspective my students do.
OOP is helpful in this case because it allows us to break down the steps of yahtzee
and compartmentalize them so that, if we want to change one thing, we do not need
to change the entire program. If we were to try and write this program in Units
1 and 2, we'd need to use multiple different functions, which each depend on
each other. This would be more unwieldy and much more difficult to make updates to.
methods, the goal is to make it so that someone can read them and understand
what is going on in the code so that it could be recreated. It also helps if I
am going to go back and edit my code to know what I intended while writing it.
I, as a habit, always try to include docstrings/comments in my code.