arrow_upward
Worst piece of code that worked?
#1
I remember early in my coding days building an app whose code was BUSTED. I couldn’t even really troubleshoot it without breaking it, but it freaking worked. Ever had something like that happen where your code was less than stellar but did the job?



[+] 2 users Like Jwolf4's post
#2
Probably every assignment i did that had an test case automarker when you submitted to let you know if you were on the right track.
I constantly resubmitted the same buggy code with tiny fixes until i was confident i could get away with at least a 75% on the final grade.



#3
Built a fake napster. scripted everything in the main function, No design or time taken into account. It worked but it was not pretty



#4
Before I learned to use the pandas library I made a analysis using dictionaries.
But like, A SHIT TON of dictionaries
Dictionaries of dictionaries of dictionaries

It worked, but was super slow and took ages to get bugless



#5
I just wanna know how they get the icons to shake and bounce when they are clicked on this forum



#6
Probably my first project in asp net. But yeah i wasnt very much



#7
Probably any program where I've hard coded data imo..

In my opinion, and I'm sure I'm not the only one that feels this way, but I think a functional program should always have a dynamic way of fetching data, meaning shit like numbers and inputs shouldn't be hardcoded..



#8
One time I rushed some copy paste code into production to meet a 2 hour deadline and the comments were all wrong and didn’t make sense but it worked! Luckily it was only needed for 1 week so we killed it. But it was terribly written