[erlang-questions] Two beautiful programs - or web programming made easy

Joe Armstrong erlang@REDACTED
Sat Feb 12 12:51:16 CET 2011

Which is why you should write correct code that does not need debugging.

The use of higher order functions that generate the code will make this
a lot easier.

The next stop is to generate the JS with HOFs and make sure the generators
are correct.

You don't want to write JS by hand - that's work - let a program do it for
you :-)


On Sat, Feb 12, 2011 at 12:46 PM, Masklinn <masklinn@REDACTED> wrote:

> On 2011-02-12, at 12:33 , Joe Armstrong wrote:
> >
> > You'll need something like Google chrome to run them.
> Warning: the status of the (currently broken [0]) WebSockets is unsure:
> Firefox and Opera already dropped it, it is unknown whether Chrome and
> Safari will keep it enabled by default. Chrome-wise, they've kept it for now
> but they plan on disabling it as soon as they hear of an exploit in the
> wild[1]
> Also, it's going to be a complete and utter pain to debug: even the more
> modern JS debuggers of Firefox (via Firebug) and Webkit have insane amounts
> of trouble finding and debugging dynamically evaluated code.
> [0] http://www.ietf.org/mail-archive/web/hybi/current/msg04744.html
> [1] http://codereview.chromium.org/5643005/

More information about the erlang-questions mailing list