What are some disadvantages of a case statement versus repeated elsif statements?

Technology CommunityCategory: RubyWhat are some disadvantages of a case statement versus repeated elsif statements?
VietMX Staff asked 3 years ago

The statement is typically resistant to modification without a complete refactoring of the entire control structure. The case statement can be confusing if multiple comma-separated expressions are associated with a single when clause.