PreviousNext

Enums & APIs

by bill-s, 2019-09-10T05:39:37.523Z

Enums are a double-edged sword. They are extremely useful to create a set of possible values, but they can be a versioning problem if you ever add a value to that enum. In a perfect world, an enum represents a closed set of values, so versioning is never a problem because you never add a value to an enum. However, we live in the real, non-perfect world and what seemed like a closed set of values often turns out to be open. So, let's dive in.

Read More