Wednesday, April 18, 2012

Enums and Booleans are Evil

[Y]ou need to be very careful with exposing state that is used for decision making in your code. It can be very easy to end up with a mass of untracked dependencies.
Enums are Evil: The State Pattern

No comments:

Post a Comment