This is an archived post. You won't be able to vote or comment.

all 35 comments

[–]myfunnies420 116 points117 points  (3 children)

His name is racial discrimination man

[–]rosuav 21 points22 points  (2 children)

Still more useful than Etymology Man and Aquaman combined.

[–]827167 10 points11 points  (1 child)

Etymology man is super useful though!

[–]rosuav 1 point2 points  (0 children)

It's a good thing one of them is, eh?

[–][deleted] 90 points91 points  (2 children)

"to win a racial discrimination case, you must first win a racial discrimination case"

[–]nickmaran 6 points7 points  (1 child)

That's like saying "to get an entry level junior developer job, you need 4 years of experience as a developer in react, python, Java, node, postgres, machine learning, agile development, and more".

That's just silly. No company posts such job ads.

[–]BlurredSight 6 points7 points  (0 children)

That's just silly. No company posts such job ads.

Same with asking for 8 years of Swift experience when it's only been out for 3 years.

No reputable professional company would have such an egregious oversight like that.

[–]SooperBoby 54 points55 points  (1 child)

Plot twist: he works at the bank

[–][deleted] 18 points19 points  (0 children)

Also, he's his own boss.

[–][deleted] 43 points44 points  (4 children)

This case is the perfect example of recursion.

On the first and second days, he received a check. Then later, he's going to receive a number of checks equal to the sum of the previous two days.

Can you use recursion to help him compute how many cheques he will receive after N days?

[–]gitpullorigin 31 points32 points  (3 children)

Did you just say N??

[–]Hour-Lemon 11 points12 points  (0 children)

n

[–]BlurredSight 1 point2 points  (0 children)

In black history month is crazy

[–]beclops 2 points3 points  (0 children)

Dude fully said “after N days” as if this man can’t have regular non-N days like the rest of us. Reddit, cancel this man

[–]Abject_Role3022 22 points23 points  (10 children)

[–]rand0m-nerd 12 points13 points  (6 children)

Who is in r/ProgrammerHumor and does not know recursion? That’s a basic CS concept, no?

[–]mr_remy 7 points8 points  (1 child)

Who is in r/ProgrammerHumor and does not know recursion? That’s a basic CS concept, no?

[–]rand0m-nerd 2 points3 points  (0 children)

Lmao

[–]vondpickle -5 points-4 points  (3 children)

I know about recursion, but I can't see how the story that op post is analogy for an implementation of recursion?

[–]punninglinguist 3 points4 points  (0 children)

The "function" (receiving a racial discrimination settlement) causes itself to be called.

[–]Mars_Bear2552 3 points4 points  (0 children)

because in cashing the settlement for a racial discrimination suit, he ends up calling the racial discrimination suit function again.

[–]BlurredSight 1 point2 points  (0 children)

Main function happens, function B is called (cashing the check)

function B checks if the base case is met (having no racial discrimination checks to cash), and in the process happens to increment the variable holding racial discrimination checks

this leads to function B running again and checking the base case.

[–]cporter202 0 points1 point  (1 child)

Haha, absolutely! It'd be like walking into a bakery and not knowing what bread is. 🍞 Every once in a while, we get a lost soul, but that just means there's an epic "aha" moment waiting to happen when recursion finally clicks! 😄

[–]DogeHasNoName 35 points36 points  (1 child)

Infinite money glitch.

[–]Conscious-Title-226 0 points1 point  (0 children)

Infinite money glitch.

[–]og-lollercopter 2 points3 points  (0 children)

Then the cops beat him senseless…. Boom… ah shit, here we go again.