Daniel Von Fange

Life, Code, and Cool Stuff

The Web as Gotos? Continuations as Subroutines?

Avi Bryant’s elevator pitch (found via Decafbad) for using continuations in web site programing, goes like this:

Continuations bring precisely the same benefits to traditional web development that subroutines bring to GOTOs

Maybe I have not fully grokked continuations, but to me treating a “page” as a a method of an object makes more sense to me for 97% of things I do.