this post was submitted on 24 Nov 2023
7 points (100.0% liked)

Go programming language discussion

1382 readers
1 users here now

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] stifle867@programming.dev 2 points 1 year ago

You can usually restructure your code to avoid them and would suggest to do so where possible. In the same vein as GOTO being bad practice. It's simpler being able to follow a function's flow from top to bottom.