goto???

Sudip Mukherjee sudipm.mukherjee at gmail.com
Fri Jul 17 05:31:21 EDT 2015


On Fri, Jul 17, 2015 at 2:52 PM, Martin Knappe
<kohaerenzstifter at posteo.de> wrote:
> I'm just messing ...
> I guess I felt a bit challenged by your "try to write that without using
> goto"
Hey, it was not a challenge. main thing is the readability.
But going by your general rules how will you modify this
same function of dgap? I think I can get rid of multiple return
only if i modify the code into a series of if - else .
or anything simple?

regards
sudip



More information about the Kernelnewbies mailing list