Questions
Answer the following questions to test your knowledge of this chapter:
- Control structures are just
if
statements and loops. What's the big deal? - All application domain-specific control structures let you do is provide some default values for some standard library functions. Why bother using them?
- What additional primitives or semantics would make the string scanning control structure more useful to application domain programmers?
- Would it be a good idea for the
wsection
control structure to generate code, including aPushMatrix()
and aPopMatrix()
that surround its code body? This would make the example shorter and higher-level.