this post was submitted on 16 Mar 2022
56 points (100.0% liked)

Programmer Humor

853 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Cwilliams 1 points 1 year ago (1 children)

Wait, you can read any of that? Impressive

[–] Ephera@lemmy.ml 1 points 1 year ago (1 children)

Well, it helps a lot that I can guess the words from just knowing roughly what C looks like.

For example, the first line, I'm rather sure, reads:

static Chain *create_chain(char *name)

The only word I'm truly sure about, is "Chain", and I can mostly read "name".
The "static" and ”char", I would not be able to make out, without knowing that they're keywords in C.
And the "create" is pretty much unreadable to me, but it would make sense to be "create_chain", since it returns a Chain object.

[–] Cwilliams 2 points 1 year ago

Ah, I see. My C skills could use some brushing up