[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4 8/8] ioreq-server: bring the PCI hotplug controller implementation into Xen



>>> On 09.04.14 at 16:59, <Ian.Jackson@xxxxxxxxxxxxx> wrote:
> Jan Beulich writes ("RE: [PATCH v4 8/8] ioreq-server: bring the PCI hotplug 
> controller implementation into Xen"):
>> On 09.04.14 at 15:42, <Paul.Durrant@xxxxxxxxxx> wrote:
>> > Personally I find using forward jumps to fail labels the most
>> > readable form of error exit - I wish they were used more widely.
>> 
>> Interesting - almost everyone/-thing involved in educating me in
>> programming skills recommended to try to get away without goto
>> altogether, unless programming Fortran, Basic or some such.
> 
> I think the hatred of goto is a "lie to children".  It is easy to
> misuse goto and make spaghetti.

Right, and when I see goto I unconditionally see spaghetti (which
in many cases I'm right with, but I learned to accept cases where
otherwise e.g. deep indentation would make code hard to read/
follow).

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.