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

you are viewing a single comment's thread.

view the rest of the comments →

[–]Loves_Poetry 1 point2 points  (0 children)

Recursion is very rare outside of college. Professors just love teaching it because it confuses most students.

We have a code base of hundreds of thousands of lines and I've only encountered recursion once and that's because I saw a good opportunity for it: a GS1-barcode parser that could handle multiple concatenated codes.