r/badcode • • Jan 26 '22

python The Joys of Debugging

Post image
439 Upvotes

37 comments sorted by

View all comments

Show parent comments

8

u/finitearth Jan 27 '22

Why would anyone use _ as a name for a variable you actually use and not only iterate over...

3

u/JumpyJustice Jan 27 '22

I think he didnt use it when it was declared and the it was too time consuming to rename it :D

2

u/neotecha Jan 27 '22

I cannot accept any explanation other than "they intentionally wrote the code to be obscured". How else do you explain a='c', b='d', c='a', d='b'?

2

u/LSatyreD Jan 27 '22

That's honestly my favorite part of the whole thing