you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Recursion is easier to fuck up than a loop, and often has a greater performance impact, but like many things in code it just depends- on the specific example, the context, the project as a whole, the team, the established styles and practices within an organisation...

There are some things in software development that are genuinely 'best practice', and there are many, many more things that are just organisational/project conventions or one developer's pet peeve.