#!/usr/bin/env python

"""
CS373: Quiz #31 (5 pts)
"""

""" ----------------------------------------------------------------------
1. What is Fowler's rationale for calling getCharge() twice instead of
   caching the result in a local variable?
   (2 pts)

intent is clearer
one less local variable to be wrong
performance doesn't matter until the end when you're profiling
"""

""" ----------------------------------------------------------------------
2. In the video store refactoring Fowler used Replace Type Code with
   State / Strategy. An alternative would have been Replace Type Code with
   Subclasses. How would that have been different? Why didn't he do it?
   [http://www.refactoring.com/catalog/replaceTypeCodeWithStateStrategy.html]
   [http://www.refactoring.com/catalog/replaceTypeCodeWithSubclasses.html]
   (2 pts)

RegularMovie, NewReleaseMovie, ChildrensMovie
Can't change type easily.
"""
