News for hackers. Stuff that matters.
Re:Porting the Go compiler from C to Go by saucetenuto on Friday April 25, 2014 @01:53PM (#7648007)
I dunno, a few of them seem hard to justify. The one on line 475 could just be an "else" branch, frex, and the ones in the loop on 327 could as easily be continues.
Re:Porting the Go compiler from C to Go by __david__ on Friday April 25, 2014 @02:21PM (#7648189)
Only one goto in the loop could be a "continue", the one in the nested loop cannot. The one that could be is most likely a goto just for consistency.
Re:Porting the Go compiler from C to Go by mjibson on Friday April 25, 2014 @08:17PM (#7649889)
When the full video of the talk comes out, you will see that Russ agrees with you. He lists the types of uses of goto. Various are used to make loops or elses, and he says those should not have occurred.