Hi Steffen,

> >     if (strcmp(opt,"-version")==0) {
> >     case 'v': // <-- a gibbon on the syntax tree
>
> But interesting that you call it Duff's device, i thought that
> exactly refers to a do..while() loop within a switch

Agreed, it's a method of loop unrolling that used case labels against
the `flow' of the other code's structure.
    dict -d jargon "duff's device"

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

Reply via email to