Thread 105779185 - /g/ [Archived: 621 hours ago]

Anonymous
7/2/2025, 7:42:58 PM No.105779185
kingsize-960x720-1
kingsize-960x720-1
md5: 700d2fc9cc4d96e158544c99b305b664🔍
Whoever writes recursive code deserves to be beaten with an ACME brick between his/her legs

I'm talking here about web
Replies: >>105779194 >>105779307 >>105779751 >>105780818 >>105780872 >>105780986 >>105781101
Anonymous
7/2/2025, 7:43:46 PM No.105779194
>>105779185 (OP)
skill issue
Anonymous
7/2/2025, 7:53:28 PM No.105779307
>>105779185 (OP)
Skill issue.

But unironically iterative is usually better desu
Anonymous
7/2/2025, 8:18:49 PM No.105779619
I don't get it either, why would you make your code worse on purpose instead of just using a loop
Replies: >>105779649 >>105779751 >>105784160
Anonymous
7/2/2025, 8:22:03 PM No.105779649
>>105779619
Some retards lack the brainpower to use something simple like a queue to transform recursive tasks into iterative ones.
Anonymous
7/2/2025, 8:30:04 PM No.105779751
>>105779185 (OP)
>>105779619
Try to implement Ackermann function without recursion.
Replies: >>105779781
Anonymous
7/2/2025, 8:33:07 PM No.105779781
>>105779751
>m-m-MUH ALGORITHMS
fuck you and your fake ass """""computer science"""""
99.99999% of software engineers use absolutely none of that shit, go back to doing code challenges faggot
Replies: >>105780950
Anonymous
7/2/2025, 8:49:50 PM No.105779951
1746572140330865
1746572140330865
md5: b3234e0e41128165fe6fb83ddce29988🔍
>getting filtered by recursion
Lol lmao
Replies: >>105779983
Anonymous
7/2/2025, 8:53:04 PM No.105779983
>>105779951
no one but algorithm tards use recursion
Anonymous
7/2/2025, 8:55:51 PM No.105780004
This is one of those magic tricks they like to spook you with in college. No one in in the real industry writes recursive code for anything other than hyper topical specific use cases.
Anonymous
7/2/2025, 9:11:58 PM No.105780125
>getting filtered by recursion
isn't that like 1st CS semester shit, are ternary operators scawy as well?
Replies: >>105780177 >>105780644
Anonymous
7/2/2025, 9:18:58 PM No.105780177
>>105780125
now imagine function that has 1000 lines and it calls itself, there no comments and the functionality depends on external state.
Anonymous
7/2/2025, 10:03:54 PM No.105780644
>>105780125
No one's talking about 1st CS semester scripts
Anonymous
7/2/2025, 10:19:10 PM No.105780818
>>105779185 (OP)
Explain to me a better way to traverse a tree structure without it.
Replies: >>105784143
Anonymous
7/2/2025, 10:24:00 PM No.105780872
>>105779185 (OP)
Her? I wish...
Replies: >>105780888
Anonymous
7/2/2025, 10:25:47 PM No.105780888
>>105780872
GOOD MORNING SAAR
Anonymous
7/2/2025, 10:32:36 PM No.105780950
>>105779781
people like you are the reason computers litterally a million times faster than 40 years ago boot slower than an original macintosh off a fucking floppy does.
Anonymous
7/2/2025, 10:35:52 PM No.105780986
1731832046860313
1731832046860313
md5: 5a4010e6e8284742157428f7549f6b54🔍
>>105779185 (OP)
>His brain's stack size is too small
Anonymous
7/2/2025, 10:48:33 PM No.105781101
>>105779185 (OP)
>I'm talking here about web
Isn't XML all about trees and shit? Recursion is the natural choice here, updating a parent means updating all of it's children too. Not more complicated than any game engine with a scene/node system.
Replies: >>105786199
Anonymous
7/2/2025, 11:33:26 PM No.105781529
day7
day7
md5: e3f9ffba51958d03e6ead4eea57dccf3🔍
Imagine getting filtered by recursion.
Lol.
Anonymous
7/3/2025, 4:44:34 AM No.105784143
>>105780818
>he doesn't know about link reversal
grim.
Anonymous
7/3/2025, 4:47:15 AM No.105784160
>>105779619
Writing a program recursively is a great way to model a problem before you optimize it. But in the real world the optimization step never happens because managers can't tell apart bikeshedding from improving the product.
Replies: >>105785591
Anonymous
7/3/2025, 8:37:17 AM No.105785591
>>105784160
My father worked in tech. He said "never show your boss a prototype because then he'll ship it as a finished product"
Replies: >>105786979
Anonymous
7/3/2025, 10:24:06 AM No.105786199
>>105781101
Recursion eats up memory very quickly.
Anonymous
7/3/2025, 12:28:24 PM No.105786979
>>105785591
Your father was a gay nigger.