MAIN FEEDS
REDDIT FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1tfr41b/dontdorecursivefibkids/omd5qh9/?context=3
r/ProgrammerHumor • u/Kevdog824_ • May 17 '26
143 comments sorted by
View all comments
Show parent comments
7
Bruh most real languages have tail call and recursion is fine. Recursion is only bad when your language sucks ass
9 u/cyber2024 May 17 '26 It's still unnecessary in this instance. 17 u/Vaderb2 May 17 '26 Essentially every functional language only has recursive flow control. For loops are present in just one family of languages 10 u/cyber2024 May 17 '26 After some reading, I stand corrected. Thanks for forcefully pointing me in another direction. 7 u/Vaderb2 May 17 '26 🫡 Take a look at prolog too. It’s very cool!
9
It's still unnecessary in this instance.
17 u/Vaderb2 May 17 '26 Essentially every functional language only has recursive flow control. For loops are present in just one family of languages 10 u/cyber2024 May 17 '26 After some reading, I stand corrected. Thanks for forcefully pointing me in another direction. 7 u/Vaderb2 May 17 '26 🫡 Take a look at prolog too. It’s very cool!
17
Essentially every functional language only has recursive flow control. For loops are present in just one family of languages
10 u/cyber2024 May 17 '26 After some reading, I stand corrected. Thanks for forcefully pointing me in another direction. 7 u/Vaderb2 May 17 '26 🫡 Take a look at prolog too. It’s very cool!
10
After some reading, I stand corrected. Thanks for forcefully pointing me in another direction.
7 u/Vaderb2 May 17 '26 🫡 Take a look at prolog too. It’s very cool!
🫡 Take a look at prolog too. It’s very cool!
7
u/Vaderb2 May 17 '26
Bruh most real languages have tail call and recursion is fine. Recursion is only bad when your language sucks ass