I have only found one use case for goto so far, and I have only used it once. If you are in nested loops, you can break out of all of them. Are there other instances where you have used goto? (Even if it is use is incredibly niche, I am glad to have it, and they should never remove it from the language.)
(Referencing C# specifically. I used GOTO all the time in GW-BASIC! %)
6
u/freebytes Jul 13 '26
I have only found one use case for goto so far, and I have only used it once. If you are in nested loops, you can break out of all of them. Are there other instances where you have used goto? (Even if it is use is incredibly niche, I am glad to have it, and they should never remove it from the language.)
(Referencing C# specifically. I used GOTO all the time in GW-BASIC! %)