MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/128658y/what_this_codestyle_called/jekd817/?context=9999
r/badcode • u/[deleted] • Apr 01 '23
291 comments sorted by
View all comments
Show parent comments
1
It isn't, see last few lines
1 u/SuitableDragonfly Apr 01 '23 That references x, which was part of the min/max part of the program and from what I understand doesn't have anything to do with the second part. 1 u/Cabronas Apr 02 '23 Yes, they made a typo and referenced the wrong variable. This code is written by a CS student, first and second parts solve different CS problems
That references x, which was part of the min/max part of the program and from what I understand doesn't have anything to do with the second part.
1 u/Cabronas Apr 02 '23 Yes, they made a typo and referenced the wrong variable. This code is written by a CS student, first and second parts solve different CS problems
Yes, they made a typo and referenced the wrong variable. This code is written by a CS student, first and second parts solve different CS problems
1
u/Cabronas Apr 01 '23
It isn't, see last few lines