clojure-boston

2015-10-10T16:47:30.000014Z

have not, just did, thanks. Yeah Phil Freeman looks like one of those mostrously productive people

2015-10-10T16:48:00.000015Z

my haskeller friend said purescript syntax actually looks like an improvement on haskell, that's quite something

2015-10-10T16:48:24.000016Z

the rub for me though, is that as a javascript replacement we're still looking for lots of interop

2015-10-10T16:48:47.000017Z

So for side-effectful coding you can certainly say, stick it in a do block and make the rest pure

2015-10-10T16:49:03.000018Z

if you code carefully enough you can also achieve that, and deftest your pure code separately

2015-10-10T16:50:06.000019Z

but in the end when you're FFI-ing against say a game engine, I can't immediately see how this will benefit

2015-10-10T16:50:48.000020Z

so when I was using haxe for dom manipulation and running custom animations, sometimes i got the pixel values off and everything looked bad

2015-10-10T16:51:22.000021Z

and the easiest way for me was to debug that visually after a debug-recompile loop

2015-10-10T16:51:46.000022Z

as fast as haxe compiler was it was still several seconds to see the chage for me

2015-10-10T16:53:07.000023Z

my point is even when you have mostly pure code, I don't have a good sense of how pure code of any kind really helps once you're in DOM land?

2015-10-10T16:54:06.000024Z

in which case the live programming style in cljs has been night and day, plus atoms/react

2015-10-10T16:54:37.000025Z

so the purescript doc doesn't mention live coding, so I can see one doing this "code checks out" but the render is still wrong

henrytill 2015-10-10T20:33:37.000026Z

@whacked: well i only suggested it because 1. i've heard that the js output is clean and 2. it has a type checker (which i gather is why you were looking at Flow) (and otherwise it seems to be fairly well regarded in the compile-to-js space)

henrytill 2015-10-10T20:34:17.000027Z

but yeah, cljs is definitely really nice in both the interop and live programming depts.