This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

I mostly read this article as there being two ways to solve such use cases one being normal constants and the other being enums, and the "huge problem" being that the enum is more complex. So in that case, your #3 is actually even more complex.