I am a dinosaur. I have been professionally programming for more than 20+ years.
The only valid usage of “goto” statement was in Linux kernel. That goto statement improved the performance a lot. Every other use of “goto” I saw was unnecessary.
Introducing “goto” statement, especially with line numbers like this instead of labels, is bad. Please don’t use this. Please don’t tell others about this.
I down voted this.
I am a dinosaur. I have been professionally programming for more than 20+ years.
The only valid usage of “goto” statement was in Linux kernel. That goto statement improved the performance a lot. Every other use of “goto” I saw was unnecessary.
Introducing “goto” statement, especially with line numbers like this instead of labels, is bad. Please don’t use this. Please don’t tell others about this.