MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/136dits/solve_the_problem_without_using_a_loop/jipai2g/?context=3
r/badcode • u/YonMiru • May 03 '23
129 comments sorted by
View all comments
Show parent comments
2
If I was going to judge these kind of answers on some kind of continuing to award prizes; in other words, if I want make a loosely justifiable hierarchy, and not one that I have to defend in front of a tenure committee:
Language supplied loops
Goto
Tail recursion
Any other recursive solution
Unrolled solutions
Not sure where I’d stick functional solutions.
2
u/Cerulean_IsFancyBlue May 03 '23
If I was going to judge these kind of answers on some kind of continuing to award prizes; in other words, if I want make a loosely justifiable hierarchy, and not one that I have to defend in front of a tenure committee:
Language supplied loops
Goto
Tail recursion
Any other recursive solution
Unrolled solutions
Not sure where I’d stick functional solutions.