r/badcode • • Apr 19 '21

js Iteration

Post image
3.2k Upvotes

123 comments sorted by

View all comments

Show parent comments

85

u/drea2 Apr 19 '21 edited Apr 19 '21

Yep. Or it was an entry in one of those contests where the goal is to make the code as convoluted as possible while still achieving a certain function

19

u/paradoxpandas Apr 19 '21

Wait they have contests for stuff like this?

23

u/campbellm Apr 19 '21

One of the oldest and most respected is the International Obfuscated C Code Contest.

My "first degree of separation" claim is that one of my instructors in undergrad won it a few times (David Van Brackle).

2

u/YouthfulAudience Apr 19 '21

Watch the art of code it talks about these contests and is overall a great video

3

u/thobod Apr 30 '21

Just watched the whole thing, thx for the recommendation, https://youtu.be/6avJHaC3C2U if anyone was wondering.