Worst code you have ever seen

Status
This thread has been locked.

croissant222

Feedback score
0
Posts
439
Reactions
151
Resources
0
(disclaimer: no code purposely made to be bad)

For me its a hashmap implementation in C, except it wasnt a hashmap it was just called that, didnt even function how you would expect a hashmap too, everything was O(n)
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

jxhdvn

The Visionary
Supreme
Feedback score
30
Posts
2,480
Reactions
1,282
Resources
0
0101010101010110100100111000110 is the worst code ive ever seen
 

Axp

Feedback score
1
Posts
76
Reactions
28
Resources
0
In my club WebDev, my club head put <div> </div> in the middle of the code for no reason. He was the club head idk how he is so dumb. (its hard to fuck up html)
 

Ally

gσ∂∂єѕѕ σƒ мαтнѕ αη∂ мєℓσηѕ χσ
Supreme
Feedback score
37
Posts
2,043
Reactions
2,194
Resources
0
my club head put <div> </div> in the middle of the code for no reason
That's html tho, it's kinda excusable since there may have been something there at one point and HTML can become really hard to manage without the proper experience and IDE.

0101010101010110100100111000110 is the worst code ive ever seen
/s

everything was O(n)
Dude O(n) isn't that terrible, at least it's not O(n^2) or 2^O(n) aha. O(log n) best yeet. All the issue is there is its name :rofl:

I don't have any particular code that comes to mind, but the bad code I have seen comes in 3 flavours (particularly relevant to .net):
  • the person hasn't named controls or forms and leaves them as label1, panel1, etc.,
  • the person reuses code EVERYWHERE,
  • the person fails to separate code for backend and frontend (not MVC but a similar architecture or ideology) and chooses to put critical code in forms (cryy I'm looking at you Kappa).
 
Last edited:

User

i left click on lego people
Supreme
Feedback score
107
Posts
3,721
Reactions
2,538
Resources
0
whenever I change the color of something in my signature and it's like
[ color=red][ color=red][ color=red][ color=red][ color=red][ color=red][ color=red][ b][ b][ b][ b][ b][ b]T[ color=red][ color=red][ color=red][ color=red][ color=red][ color=red][ color=red][ b][ b][ b][ b][ b][ b]e[ color=red][ color=red][ color=red][ color=red][ color=red][ color=red][ color=red][ b][ b][ b][ b][ b][ b]s[ color=red][ color=red][ color=red][ color=red][ color=red][ color=red][ color=red][ b][ b][ b][ b][ b][ b]t

and then I have to manually remove all the extra code and save the proper signature in BBCode to Google Drive because IT ALWAYS DOES THIS AAAAA
 

Axp

Feedback score
1
Posts
76
Reactions
28
Resources
0
That's html tho, it's kinda excusable since there may have been something there at one point and HTML can become really hard to manage without the proper experience and IDE.
But it was an excercise, we just had to copy code. He said it was to make a space. In not sure if thats true though.
 

Ally

gσ∂∂єѕѕ σƒ мαтнѕ αη∂ мєℓσηѕ χσ
Supreme
Feedback score
37
Posts
2,043
Reactions
2,194
Resources
0
But it was an excercise, we just had to copy code. He said it was to make a space. In not sure if thats true though.
no empty div won't add a space
 
Status
This thread has been locked.
Top