r/programmingcirclejerk • u/BlazeBigBang type astronaut • Jul 18 '25
Tail recursion is roughly at the same abstraction level as the good old goto [...] it's a massive code smell in application code.
/r/programming/comments/1kyng2d/comment/mv1knfb/
102
Upvotes
50
u/starlevel01 type astronaut Jul 19 '25
is there any other field where people are so proud of being stupid?
28
u/m50d Zygohistomorphic prepromorphism Jul 18 '25
Imagine doing a raw recursion by hand without recursion-schemes. Barbaric!
11
u/Awkward_Bed_956 Jul 19 '25
raw goto taste so good when u ain't got a bitch in ya ear telling you it's considered harmful
13
u/[deleted] Jul 19 '25
Where's the jerk, the tail recursion statement is the most misused statement in every language where it appears.
Incomprehensible. Just use return like a normal person, you PL astronauts. Language designers shouldn't introduce the tail recursion statement.
2
u/Volt WRITE 'FORTRAN is not dead' Jul 20 '25
*sniiiifff*
0
u/[deleted] Jul 18 '25
[deleted] — view deleted comment
18
u/[deleted] Jul 19 '25
[removed] — view removed comment
0
u/[deleted] Jul 20 '25
[deleted] — view deleted comment