MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/abi4hd/deleted_by_user/ed56c6s/?context=3
r/badcode • u/[deleted]
[deleted] — view deleted post
87 comments sorted by
View all comments
Show parent comment
1
No, it's almost the same as putting code after the loop. The difference is that you can access loop variables, so it's useful for when you want to do something using them but don't want to change their scope.
View all comments
Show parent comment
1
u/wiseIdiot Jan 03 '19
No, it's almost the same as putting code after the loop. The difference is that you can access loop variables, so it's useful for when you want to do something using them but don't want to change their scope.