[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] Duff's Device lurking in refer.cpp
From: |
Ralph Corderoy |
Subject: |
Re: [groff] Duff's Device lurking in refer.cpp |
Date: |
Wed, 27 Jun 2018 13:04:08 +0100 |
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
- [groff] Duff's Device lurking in refer.cpp, G. Branden Robinson, 2018/06/26
- Re: [groff] Duff's Device lurking in refer.cpp, Steffen Nurpmeso, 2018/06/26
- Re: [groff] Duff's Device lurking in refer.cpp,
Ralph Corderoy <=
- Re: [groff] Duff's Device lurking in refer.cpp, G. Branden Robinson, 2018/06/27
- [groff] .SY/.YS, was: Duff's Device, Ingo Schwarze, 2018/06/27
- Re: [groff] .SY/.YS, was: Duff's Device, G. Branden Robinson, 2018/06/27
- Re: [groff] .SY/.YS, was: Duff's Device, Nate Bargmann, 2018/06/27
- Re: [groff] .SY/.YS, was: Duff's Device, G. Branden Robinson, 2018/06/28