r/badcode • • Jul 27 '26

A whole new era of bad code

216 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 • • 23d ago

python Fizz Buzz with an LLM swarm

Thumbnail
github.com
46 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

r/badcode • • Oct 07 '26

c I hate myseeeeeelf

Thumbnail
github.com
2 Upvotes

worst virtual machine on pure C maded completely on nano ever made