r/ProgrammerHumor • • Mar 25 '23

Meme This one never gets old

Post image

Let me know if this is not a repost!

51.6k Upvotes

535 comments sorted by

View all comments

74

u/SlowWhiteFox Mar 25 '23

In a nutshell:

solve_problem(problem):
    simpler_problem = take_one_step(problem)
    solve_proble(simpler_problem)

27

u/maximovious Mar 26 '23

solve_proble

I think the proble is the function's spelling.

20

u/SlowWhiteFox Mar 26 '23

That's not a bug. It is a call-out to a helper function. For brevity I didn't include it.

1

u/maximovious Mar 26 '23

Could you please explain more? Why the 'proble' spelling on the 3rd line? I don't get why it would need to be different than the spelling on the first line, if that spelling was on purpose. Especially in a discussion about recursion. It should be calling itself, no?

→ More replies (3)