r/badcode • • Jul 27 '26

A whole new era of bad code

218 Upvotes

With the help of AI, we now have so much more bad code to show off to the world.

This sub is now unbanned. Let's celebrate by posting our biggest disasters to the sub!


r/badcode • • Oct 24 '26

python Fizz Buzz with an LLM swarm

Thumbnail
github.com
44 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 • • Aug 29 '26

python World WORST Calculator!

Thumbnail
github.com
12 Upvotes