r/ProgrammerHumor • • May 16 '20

The meaning of everything

Post image
35.0k Upvotes

533 comments sorted by

View all comments

Show parent comments

49

u/Flames15 May 16 '20

Enlighten us, the lowly high level programmers. Please.

0

u/[deleted] May 16 '20

[deleted]

61

u/SaggiSponge May 16 '20

Yes, the comments are what amused me. I have no idea what the code is actually doing, lol.

4

u/[deleted] May 16 '20

It's code to put people on the moon.

1

u/amazondrone May 16 '20

What comment? I don't see any comment on those lines.

Mind you, on mobile I can't see anything right of the column of parameters, so that's probably why.

6

u/Golgantes May 16 '20

Just activate the desktop version. It says: "Temporary. I hope hope hope"

12

u/lopoticka May 16 '20

Or just scroll to the right

2

u/Golgantes May 16 '20

Witchcraft!

33

u/Ruggie1of1 May 16 '20

TC is similar to a jump call but stores a return value in a specific register, in other words, it's a type of basic function call. Judging from the context of the rest of the code in this block, I'd guess it is a series of safety checks that set the DOWNFLAG, likely disabling the system if something unexpected happens. The comment # TEMPORARY, I HOPE HOPE HOPE is probably due to an issue they were having with bank angle that shouldn't exist. So the (undesirable) solution was to have the system turn itself off if this issue popped up until they could figure it out. This doesn't mean that the original issue wasn't fixed, just that the temporary code wasn't removed.

1

u/aguycalledmax May 16 '20

The comment #TEMPORARY, I HOPE HOPE HOPE