News for hackers. Stuff that matters.
Re:Confessions of an Intermediate Programmer by daigoba66 on Monday March 03, 2014 @08:09PM (#7337790)
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.
Re:Confessions of an Intermediate Programmer by Sammi on Monday March 03, 2014 @08:17PM (#7337831)
Nah you just invented continuation passing style. You just needed tail recursion too, and you would be good to go ;)