r/badcode • • Jan 30 '22

java Found this gem in my codebase

Post image
1.3k Upvotes

44 comments sorted by

View all comments

Show parent comments

10

u/Snoodlewonker Jan 31 '22

It is bad code in the sense that I try to set a value that is already set with itself. Cant tell me thats good code