goto vs recursion
Hello, I have a little question about "good habit" in this block of codes. So a little context is, this code will listen to user's input and then do some stuff if some specific key is pressed. However, if none of the specific key is pressed then nothing will happen and the program will keep listening to user's input.
This is a code that I have written and due to how I was taught, I used a recursion to loop this method over and over again. However, I also thought about a possibility of using a goto at the very end of the code instead of calling back the Play_Notes method.
My question is: Is there a disadvantage to using a "goto" statement here? Since I was taught that goto statements are not recommended.
This is a code that I have written and due to how I was taught, I used a recursion to loop this method over and over again. However, I also thought about a possibility of using a goto at the very end of the code instead of calling back the Play_Notes method.
My question is: Is there a disadvantage to using a "goto" statement here? Since I was taught that goto statements are not recommended.

