Likelihood of if statement and case

Walter Bright newshound2 at digitalmars.com
Wed Sep 11 19:00:15 UTC 2024


On 9/11/2024 2:26 AM, Richard (Rikki) Andrew Cattermole wrote:
> 4. Switch statements have a priority for their cases by simply their order. The 
> likely path is the default statement.

The code is laid out in the order it appears in the source code, including the 
default.



More information about the dip.ideas mailing list