首页

1 comment

lucb1e超过 8 年前
That was a great read. I&#x27;ve been thinking of the switch statement recently as well and came to the same conclusion that it&#x27;s actually kind of useless in most languages&#x27; implementations.<p>Especially the Perl sections were delightful (and I suppose I indeed didn&#x27;t want to know for Perl 5.)<p>I hadn&#x27;t heard of Duff&#x27;s device yet, interesting!