MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1riy8yk/cursor_would_neverrr/o8d0pcc/?context=3
r/programminghumor • u/[deleted] • Mar 02 '26 • 1
155 comments sorted by
View all comments
Show parent comment
4
If it's doing something with global variables?
13 u/coderman64 Mar 03 '26 No, the first return exits the function entirely, so the second will never be executed.It's a basic mistake that most linters will warn you about. 2 u/FloydATC Mar 04 '26 Pff, just redefine "return". Easy.There may be side-effects.
13
No, the first return exits the function entirely, so the second will never be executed.
It's a basic mistake that most linters will warn you about.
2 u/FloydATC Mar 04 '26 Pff, just redefine "return". Easy.There may be side-effects.
2
Pff, just redefine "return". Easy.
There may be side-effects.
View all comments
Show parent comment
4
u/Elia_31 Mar 03 '26
If it's doing something with global variables?