Tag Archives: methods

Did You Know enums Can Define Their Own Methods?

… I sure as hell didn’t, but found myself in a position the other day where I was thinking “Damn, I wish I could define a common method in this enum that I could call and not have to write another utility method…” Well, ask and ye shall receive… or something like that.
Here’s the enum [...]

Read full storyComments { 4 }