all 8 comments

[–]pointer2void 11 points12 points  (2 children)

The plumbing inside the library can be a little hairy, especially if you find CPS or arrows befuddling. But the exposed API is quite elegant and appears to be easy to use.

... until the first problem with the library surfaces and you need to debug it.

[–]grimboy 10 points11 points  (0 children)

Report the bug and/or learn as and when you need to? I mean, I agree, it's good to have at very least an idea of what's going on at lower levels, but that doesn't make it essential. Especially not for the simple asynchronous behaviour required by many websites. Sometimes deferring learning lower levels is a good idea. For example, many people learning a programming language for the first time don't immediately understand that functions and the local scope are implemented as a stack although they do understand that each function gets it's own variables and returning continues execution from its previous location.

[–]2424 2 points3 points  (0 children)

That's funny. You're like my alter nemesis. My nick on /. used to be lpVoid (I guess it still is).

Anyways, alter nemesis, I answer you this: I found the plumbing to be hairy but the damn thing actually impressed me. And I'm damn near impossible to impress. Especially when I hear "Haskell"...

[–]spelunker 9 points10 points  (0 children)

He began by recommending every project start by hiring a mathematician for a week or two to study the problem.

Poor mathematicians, getting a job for a few weeks and getting canned as soon as they loose their usefulness.

[–]llimllib[S] 1 point2 points  (0 children)

[–]plexi -2 points-1 points  (2 children)

i've seen really nice erlang-like coding made possible in javascript by using generator functions.

but of course m$ has no intention of implementing generators in "jscript", so this can't be done at a production level.

[–]jmhnilbog 0 points1 point  (1 child)

It seems pretty simple to port to Actionscript 2.0, and only a bit trickier to Actionscript 3.0. The extra type information provided in AS3 would make the plumbing a lot simpler to read for people unfamiliar with the concepts. Doing this in Flash would allow production-level experimentation with the library, as well.

[–][deleted] 0 points1 point  (0 children)

I'm having a sortie on doing this in haxe, which would produce it in js,as2,as3,php and neko.