Thank you Jacob.

I've now got my Enums working following your suggestion (embarrassed for 
asking), but now I am unclear whether there is any benefit to using enums 
versus just creating a bunch of instances of a composite immutable type.

Any wisdom you can share on the circumstances under which you might want to 
use Enums with additional get methods or create a composite immutable type? 
My initial thought with enums was that since the number of countries is 
finite, there is no need to allow a constructor to construct MORE 
countries. With a composite immutable type, the user could, in principle, 
create extra countries and I'm not sure that makes sense.

Is there any performance gotchas I should be aware of? Thank you again for 
patience with naive questions.

Reply via email to