A good article about replacing normal enums with something a bit more flexible but still being immutable.
http://phazed.com/blog/flexible-enumerations/
I have seen this design pattern before but I do not know if it has a proper design pattern name.
No comments:
Post a Comment