r/ProgrammerHumor • • Oct 13 '26

Meme howProgrammingHasChanged

Post image
678 Upvotes

108 comments sorted by

View all comments

Show parent comment

6

u/robin_888 Oct 14 '26

I think in education it is also important to take "wrong" approaches to learn why they are "wrong" and what possible solutions are. If you just teach the "good" examples students might not realize why the naive approach to Fibonacci is problematic.

In other words you might want to teach naive recursion before you teach tail-recursion.