Using "goto" when programming

While designing a state machine I had the through – this seems like a nice application for goto statements. In my excursions in to Linux kernel programming, goto is used a lot for error handling within a function. So I looked up a few discussions on using goto:

It is interesting that the Go language puts some restrictions on how you use goto:

1 Like

A post was split to a new topic: SIOT module changes