<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Switch statement - Page 3 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=switch_statement&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=switch_statement&amp;p=4">3.Next</a>
</p>
<p>equivalent series of if-then-else statements because it is:</p>

<p>; Easier to understand: And consequently easier to maintain: at least partially since it's fixed depth.</p>

<p>; Easier to debug: For example, setting breakpoints on code vs. a call table, if the debugger has no conditional breakpoint capability.</p>

<p>; Easier to verify: that all values are handled since a compiler can warn if a value is not handled.</p>

<p>; Can execute faster: An <a href="page.php?w=optimization_%28computer_science%29">optimized</a> implementation may</p><p>
<a accesskey="1" href="page.php?w=switch_statement&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=switch_statement&amp;p=4">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
