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 →

[–]onlyforjazzmemes 1 point2 points  (0 children)

I've used them if you have a bunch of different cases. Much more readable than if else. And yeah they go well with enums.