Hacker News new | ask | show | jobs
by loeg 3620 days ago
Yeah, it isn't real type safety. That said, don't assign enums through vanilla integers if you don't have to. :-)

Our engineering organization of 300+ people builds the majority of our code with -Werror (and a bunch of warnings enabled). Just an anecdote, of course.