r/badcode • • Aug 29 '26

python World WORST Calculator!

Thumbnail
github.com
12 Upvotes

r/badcode • • Jul 26 '21

python My friend is learning python now, idk what to say

Post image
939 Upvotes

r/badcode • • Oct 24 '26

python Fizz Buzz with an LLM swarm

Thumbnail
github.com
47 Upvotes

It's fizz buzz, but it doesn't use division or modulo, it's all politics and procedures. Instead a swarm of LLMs debates and argues, and eventually claims the number for Fizz, Buzz or FizzBuzz through convoluted judicial processes.

The LLMs are incentivized to claim numbers for their team and the process actually ends up working with a huge amount of arbitration.

In the end it's fun to watch local 2B models argue and burn massive amount of compute over such a trivial operation.

r/badcode • • Nov 08 '20

python My friend absolutely refuses to use a for loop because they are too complicated in python

Post image
1.2k Upvotes

r/badcode • • Apr 14 '21

python Helping a friend learn python. He was really proud of this one.

Post image
1.9k Upvotes

r/badcode • • Jul 14 '21

python Try/Except in Python - Sigh

Post image
662 Upvotes

r/badcode • • Apr 30 '22

python Looks like Python List Comprehension-phobia is a thing. This is a real commit by a teammate.

Post image
1.2k Upvotes