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
> 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
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
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
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
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-