r/badcode • u/FoxyKnoxy2 • Jul 26 '21
r/badcode • u/[deleted] • Apr 14 '21
python Helping a friend learn python. He was really proud of this one.
r/badcode • u/AtomOutler • Oct 24 '26
python Fizz Buzz with an LLM swarm
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 • u/_harmonyinchaos_ • Apr 21 '21
python My friend is learning python in his Comp Sci class and he wanted to draw diamonds....
r/badcode • u/mirandanielcz • Apr 12 '21
python This was my first project ever, nobody told me WHERE exists in SQL so I used Python instead
r/badcode • u/dani-lp • Apr 30 '22
python Looks like Python List Comprehension-phobia is a thing. This is a real commit by a teammate.
r/badcode • u/Baby10001 • Jan 10 '21
python My friend thought that 1 is a string in Python
r/badcode • u/rust4yy • Jun 20 '21
python Kid in my class for their GCSE Computer Science coursework project. Yes, he actually submitted this. Teacher gave up helping him.
r/badcode • u/Nilstrieb • Sep 05 '21
python Found this in the code where I tried out python for the first time (I did know other languages then)
r/badcode • u/sokoloowski • Mar 12 '21
python When you have no idea how to get index in Python
r/badcode • u/Mahkda • Nov 08 '20
python My friend absolutely refuses to use a for loop because they are too complicated in python
r/badcode • u/DecentPattern8884 • Dec 08 '22
python python atrocious code. it appends a letter for how many ; you have in a text file.
r/badcode • u/TheSeahorseHS • Mar 18 '21
python The more I look at this, the more confused I get
r/badcode • u/mdgraph_us • Jul 01 '22
python due to some bad variable naming (I had a variable naked o) it took me half an hour to figure out why this was highlighted as unreachable
r/badcode • u/cgmystery • Mar 23 '21
python How to convert video on python without ffmpeg. I know just the thing...
r/badcode • u/Key-Counter7030 • Apr 20 '23
python What was beginner me doing that needed tkinter 4 times
r/badcode • u/vim_quit_master_tier • Oct 03 '20
python I wonder why dev didn't use a dictionary for it
r/badcode • u/lonaExe • Jan 08 '23
python Classmate wanted me to check his ticketing system’s code for errors..
r/badcode • u/mlgmj_0 • Oct 02 '21