MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/f6mhfi/duffs_device/fi6ymha/?context=3
r/ProgrammerAnimemes • u/bucket3432 • Feb 20 '20
21 comments sorted by
View all comments
Show parent comment
7
Yes, at least in C and I think also C++. The same applies to goto as well. I would be surprised if you ever see a jump into a loop body in modern code because it's almost always a bad idea: it's easily a potential source of bugs.
goto
View all comments
Show parent comment
7
u/bucket3432 Feb 20 '20
Yes, at least in C and I think also C++. The same applies to
gotoas well. I would be surprised if you ever see a jump into a loop body in modern code because it's almost always a bad idea: it's easily a potential source of bugs.