In this exercise, the Queue class sets the
max_size to the value of
None instead of a number. Why is
The value of
None is used to indicate that the
Queue will have no maximum value. Choosing a numeric value to indicate the maximum value can arbitrarily limit the size. Using
None is a better option since it doesn’t have the same limiting property.