Eric Lippert of Fabulous Adventures In Coding has posted a series on CPS tranformation and different control flow abstractions. Good stuff — recommended reading for translating the crazy stuff I talk about into ‘normal’ code. Continuation Passing Style Revisited, Part One. Continuation Passing Style Revisited Part Two: Handwaving about control flow. Continuation Passing Style Revisited …
Category Archives: functional programming
GOTOs inconvenient
From “The Discovery of Continuations” The talk actually had one direct and important consequence for computing. Under the inspiration of the notion of the unnecessity of goto’s, Dijkstra spent that evening constructing realistic examples of programs without goto’s, … So while van Wijngaarden said that goto’s were unnecessary … , Dijkstra stretched the point to …
Loop variable closure semantics
Just a quick post, haven’t shared anything in a while, but found this discussion on loop variables and closures interesting — well, inflammatory, actually.