title: Multiple Argument Switch Statement
body: <p>So I was taking a Computer Science test today, and I had to write out a large number of consecutive if statements. All of them had the same basic arguments, just the conditions were different. The whole thing made me wonder if somewhere out there was a multiple argument switch statement. An example of what I'm thinking of is this:</p>
  
  <pre><code>int i = 7;
  
  switch(i &gt; 4, i &lt; 10) {
      case T, T:
          return "between 4 and 10";
  
      case T, F:
          return "greater than 10";
  
      case F, T:
          return "less than 4";
  
      case F, F:
          return "your computer's thinking is very odd";
  }
  </code></pre>
  
  <p>In this case, the arguments are <code>i &gt; 4</code> and <code>i &gt; 10</code>, and the <code>T</code> and <code>F</code> are whether the argument is true or not.</p>
  
  <p>I know this example can be easily done other ways, but I'm just trying to show its use. And what if there were 4 arguments, that would be something like 20 if statements each requiring you to retype the conditions.</p>
  
  <p>So my question is, is there any language that does this? Or is it planned for a future language? Or does an even better method exist?</p>