r/shittyprogramming • • Nov 21 '18

Reading in input

Post image
395 Upvotes

28 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Nov 22 '18

Just change go(); to return go(); for proper tail execution. No more stack overflow