r/ProgrammingLanguages • Futhark • Jan 20 '26

Why not tail recursion?

https://futhark-lang.org/blog/2026-01-20-why-not-tail-recursion.html
62 Upvotes

34 comments sorted by

View all comments

Show parent comment

1

u/ineffective_topos Jan 27 '26

It leads to the possible and likely bug of forgetting to add it. I think it's probably fine with a warning though.

1

u/amarao_san Jan 28 '26

if you forget this, you get error because you did not return Bar<Baz>.