"For the longest time," writes Sasha, "there was only a single Software Engineer IV in the group, and he was known as The Bloviator. If there was a simple solution to a problem, then he'd complicate the problem. If there was a complicated solution to a problem, then he'd complicate the solution even further."

"One trademark style of The Bloviator was his enums. When asked about why he defined his numbers this way, his response was simply: I've seen compilers get literal numbers wrong before. And I'm tired of getting burned."

enum
{
    Zero,
    One,
    Two,
    Three,
    Four,
    Five,
    Six,
    Seven,
    Eight,
    Nine,
    Ten,
    Eleven,
    Tweleve,
    Thirteen,
    Fourteen,
    Fifteen,
    Sixteen,
    Seventeen,
    Eighteen,
    Nineteen,
    Twenty = 20,
    Number_23 = 23,
    Sixty = 60,
    Number_250 = 250,
    Number_255 = 255,
    Number_500 = 500
};


enum
{
    Zero = 0,
    One,
    Two,
    Three,
    Four,
    Five,
    Six,
    Seven,
    Eight,
    Nine,
    Ten,

    _250 = 250,
    _500 = 500,
    _3000 = 3000,
    _10000 = 10000,
    _15000 = 15000,
    _17500 = 17500,
    _23000 = 23000,
    _30000 = 30000,

    MaxValue = 0xFFFF
};
[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!