Re: [Gluster-devel] An interesting take on GoTo statement by Dijkstra -

2015-01-15 Thread Nagaprasad Sathyanarayana
Thanks Jeff and Kaleb for providing a good insight. At least in Gluster code I have not come across any use of go to other than forward and out. On 16-Jan-2015, at 12:21 am, Jeff Darcy wrote: >> Since the goto idiom that Gluster uses generates the same code — which >> is what matters — I ga

Re: [Gluster-devel] An interesting take on GoTo statement by Dijkstra -

2015-01-15 Thread Jeff Darcy
> Since the goto idiom that Gluster uses generates the same code — which > is what matters — I gave up my short-lived battle for not using it. One handy rule of thumb is based on whether a "goto" is forward or back, in (to a loop or other control contruct) or out. Forward and out are generally OK

Re: [Gluster-devel] An interesting take on GoTo statement by Dijkstra -

2015-01-15 Thread Kaleb KEITHLEY
On 01/15/2015 08:02 AM, Nagaprasad Sathyanarayana wrote: On 15-Jan-2015, at 5:38 pm, Vijay Bellur wrote: On 01/15/2015 12:13 PM, Nagaprasad Sathyanarayana wrote: In a quest to find why good programmers are wary of the "Go To" statement, came across this interesting article by /Edsger W. Dijkst

Re: [Gluster-devel] An interesting take on GoTo statement by Dijkstra -

2015-01-15 Thread Nagaprasad Sathyanarayana
Thanks Vijay for sharing these. Very informative. Thanks Naga > On 15-Jan-2015, at 5:38 pm, Vijay Bellur wrote: > >> On 01/15/2015 12:13 PM, Nagaprasad Sathyanarayana wrote: >> In a quest to find why good programmers are wary of the "Go To" >> statement, came across this interesting article b

Re: [Gluster-devel] An interesting take on GoTo statement by Dijkstra -

2015-01-15 Thread Vijay Bellur
On 01/15/2015 12:13 PM, Nagaprasad Sathyanarayana wrote: In a quest to find why good programmers are wary of the "Go To" statement, came across this interesting article by /Edsger W. Dijkstra/ . http://www.u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html. goto statem

[Gluster-devel] An interesting take on GoTo statement by Dijkstra -

2015-01-14 Thread Nagaprasad Sathyanarayana
In a quest to find why good programmers are wary of the "Go To" statement, came across this interesting article by /Edsger W. Dijkstra/ . http://www.u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html. Cheers Naga ___ Gluster-