On 11/12/2018 3:54 PM, Matthias Felleisen wrote:
> On Nov 12, 2018, at 2:22 PM, George Neuner <gneun...@comcast.net> wrote:
> >> PS: Why do web-servers need CPS? > > In general they don't.


They need continuations, because BACK buttons, cloning of TABs and similar 
actions force a control flow on interactive web programs that is easily 
explained and programmed via first-class continuations (which can be modeled, 
among other things, with CPS).

I agree re: *explaining* the behavior in the browser.  I don't necessarily agree that either side needs continuations in order to *implement* the behavior.  Nor do I agree that persisted continuations are the best way to do it.

I am happy to be persuaded, but I seriously doubt you can do it.


Since most PLs do not support first-class continuations, programmers of 
interactive web-server plugins to manually encode this flow of control, which 
is done via partial CPS conversion.

Examples?

You can now think about how well most programmers are prepared for this via 
their undergraduate training and you get the idea why interactive servlets were 
often broken. Web client frameworks have eliminated some of this problem (but 
suffer from their own, which aren’t unrelated to continuations either).

Most code breaks because it was written by people who should not have been coding.  The skill level of the average software "developer" today is only slightly above novice.  Somewhere along the line, too many have gotten the idea that software development is about coding rather than about architecture, and that it is easy enough to be done successfully by self taught hackers without needing a CS degree.  News Flash: some things can be done that way ... most things can't.

Full stack web development is a multi-discipline area that demands a high level of knowledge and skill to architect a working application.  IMO, the vast majority of all web developers are not qualified to be doing it.

George

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to