r/ProgrammerHumor • • Jun 06 '20

It's the law!

Post image
38k Upvotes

1.1k comments sorted by

View all comments

Show parent comment

0

u/[deleted] Jun 06 '20

[deleted] — view deleted comment

1

u/MattTheGr8 Jun 09 '20

Just depends on what your field is. We do lots of scientific data analysis with large multi-dimensional datasets, which often requires multiply nested loops. I don’t use recursion as often, but sometimes we are doing an optimization procedure or something where it comes in handy (i.e., the code is cleaner and/or faster when written recursively vs. iteratively).

But if I’m guessing correctly that you work on something more practical, like apps with a GUI, or web development, or even OS programming, then yeah, a lot of those issues wouldn’t come up that often.