[webkit-dev] Idiom for functions with all return values in a switch case

Alex Christensen achristensen at apple.com
Tue May 9 12:37:27 PDT 2017

I like switch statements without defaults when possible because if someone adds another enum value, it causes compiler warnings/errors and forces us to update all necessary code.

More information about the webkit-dev mailing list