MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/shittyprogramming/comments/9z74sb/reading_in_input/ea7p957/?context=3
r/shittyprogramming • u/TheSinfulKing • Nov 21 '18
28 comments sorted by
View all comments
Show parent comment
3
StackOverflowError
4 u/tdammers Nov 22 '18 So that's a "negative" on the TCO. Check. 1 u/[deleted] Nov 22 '18 Just change go(); to return go(); for proper tail execution. No more stack overflow
4
So that's a "negative" on the TCO. Check.
1
Just change go(); to return go(); for proper tail execution. No more stack overflow
View all comments
Show parent comment
3
u/Rockytriton Nov 22 '18
StackOverflowError