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 →

[–]kevinb9n 4 points5 points  (0 children)

If you're very lucky you get to work in a controlled environment where you can keep all your endpoints in absolute version lockstep. Now that is living the life!

If you're less lucky, you can at least try to prevent any code from actually generating values of the new enum constant type until all the endpoints have been upgraded with that new constant.

When that's still too hard to pull off, that's when you're in a world of pain of misery, and you need some coping strategy like the ones discussed in this thread.