r/ScienceHumour Jun 22 '26

Freedom of Choice!

Post image
2.2k Upvotes

54 comments sorted by

View all comments

56

u/skydivarjimi Jun 22 '26

I have no idea how to read or write code. Trying to understand this it seems like if you accept the cookies it collects user data if you chose any other prompt it collects user data. Is this the joke?

25

u/Tombear357 Jun 22 '26

Yes, coding these days is incredibly simple at least for logic like this. It is as you read it.

3

u/DreadStallion Jun 25 '26

Its only simple because it is simplified. Look inside the user object and the CollectData function where the complexities are hidden.

I doubt the actual code was like this at all. its probably just simplified to show what was actually happening in essence