What is the difference between goto & loops?  | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is the difference between goto & loops? 

17th Apr 2020, 11:14 PM
Bravin Shumwe
Bravin Shumwe - avatar
2 Answers
+ 4
Goto let's you jump anywhere you want, you just need to set the mark. Loops have a defined beginning and an end.
17th Apr 2020, 11:35 PM
HonFu
HonFu - avatar
+ 3
Back in the days of BASIC programming we were encouraged to do gotoless programming 😁
16th May 2020, 4:27 PM
Paul K Sadler
Paul K Sadler - avatar