r/badcode • • Apr 11 '21

python Polyglot

Post image
1.2k Upvotes

116 comments sorted by

View all comments

242

u/[deleted] Apr 11 '21

“I think it is a CPU bug” 🤡

68

u/TheBrainStone Apr 11 '21

I love that assuming it’s real they didn’t notice that it only happened for negative numbers. Or in their case only -1. Like that they never bothered to even try an even negative number during debugging is such an entertaining thought.

And let’s not even talk about the inefficient implementation, that’s inspired by actual common practice. I m in love with this post