<aside> 💡 One key mistake which I often make while designing my programs is that I don’t run the stub and function templates before I use them. If bugs are present within these lines of code, these bugs will be replicated in lines of code which are based on the stub + function templates.
So, the moral of the story is this: KEEP TESTING THE STUBS, TEMPLATES, AND EXAMPLES BY CONTINUALLY RUNNING THE PROGRAM OVER AND OVER AGAIN WHILE YOU’RE DESIGNING THE PROGRAM. It’ll save a lot of your time (which you would otherwise spend debugging) in the long run.
</aside>
big-bang
.The HtDW recipe is a process for the systematic construction of interactive programs.
It comprises of 2 parts:
The structure of the program mirrors the structure of the analysis.
Since the analysis is a model of the program, it becomes easy to make changes to the program once the analysis is updated with those changes.
This ability to work on programs by reasoning about them at a model level is one of the things that really separates program designers for people who write code that just happens to work.