What We've LearnedIn this chapter on the Impostor Type bug pattern, we've learned the following:
The most important point in this chapter is that the language offers you the best resources for avoiding this type of error—the static type system. Just remember to use it. In Chapter 16, we'll examine the Split Cleaner, an instance in which code doesn't manage resources properly by freeing them up when finished as it should. |