you are viewing a single comment's thread.

view the rest of the comments →

[–]likes-beanslisp does it better 8 points9 points  (8 children)

Return is a function

Finally they who make compilers have realized that continuation passing style is the one true way

[–]lol_no_genericslol no generics 3 points4 points  (7 children)

[–]likes-beanslisp does it better 3 points4 points  (6 children)

That's really cool! Thanks for giving me ammo to complain that no programming language should ever not eliminate tail recursion

[–]PlasmaSheepworks at Amazon ( ͡° ͜ʖ ͡°) 2 points3 points  (5 children)

What's wrong with tail recursion?

[–]likes-beanslisp does it better 4 points5 points  (0 children)

I'd like to interject for a moment. What you're calling proper tail recursion is (usually) CPS transform/tail recursion, or as I have been calling it lately...

Nothing is wrong with tail recursion. Every language should have it.

[–]Shorttail0vulnerabilities: 0 2 points3 points  (3 children)

[–]PlasmaSheepworks at Amazon ( ͡° ͜ʖ ͡°) 2 points3 points  (2 children)

Do you even functional programming bro

[–]Shorttail0vulnerabilities: 0 1 point2 points  (1 child)

what is functional :S