Hacker News new | ask | show | jobs
by daigoba66 4487 days ago
As a kid I wrote a few games using QBasic. I apparently didn't have a firm grasp on control flow because every call to a sub routine ended with a call to another subroutine; sometimes to a sub routine that was already called earlier in the stack. You win the game by beating it before crashing with a stack overflow.
1 comments

Nah you just invented continuation passing style. You just needed tail recursion too, and you would be good to go ;)