How Recursion Works — explained with flowcharts and a video
Beau Carnes

Prateek Vasisht No, you didn’t get it — your code is an infinite loop. You never change the ‘post’ variable, so you always start at the first line of the post on every recursive call.

Like what you read? Give Paul Abrams a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.