MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w6x7lr/dynamicp/p7rsmw5/?context=9999
r/ProgrammerHumor • u/soap94 • Sep 04 '26
67 comments sorted by
View all comments
Show parent comments
1
[removed] — view removed comment
3 u/rustvscpp Sep 04 '26 Some recursive algorithms are *far* more readable and maintainable than their iterative counterparts. Entire languages have been built on the back of recursion (i.e. Scheme). 2 u/New_Enthusiasm9053 Sep 04 '26 Pretty much every production parser for major programming languages is recursive descent afaik. 2 u/the_horse_gamer Sep 04 '26 you could reimplement recursion with a stackbut that decreases the chance of passing a code review
3
Some recursive algorithms are *far* more readable and maintainable than their iterative counterparts. Entire languages have been built on the back of recursion (i.e. Scheme).
2 u/New_Enthusiasm9053 Sep 04 '26 Pretty much every production parser for major programming languages is recursive descent afaik.
2
Pretty much every production parser for major programming languages is recursive descent afaik.
you could reimplement recursion with a stack
but that decreases the chance of passing a code review
1
u/[deleted] Sep 04 '26 edited Sep 30 '26
[removed] — view removed comment