News for hackers. Stuff that matters.
Re:Haste language by pweissbrod on Wednesday April 02, 2014 @01:23PM (#7517206)
Youre probably well aware of this but I do gather that:

One of the biggest problems with coffeescript is that when you are troubleshooting production code you need to decipher the generated JS back to what was actually written in coffee.

It strongly suggests haste will present the exact same problem perhaps in greater scale.

Re:Haste language by ef4 on Wednesday April 02, 2014 @02:33PM (#7517883)
If you're still suffering that pain you need to switch to better build tools. Source map support is pretty mainstream now.

If I open Chrome Dev Tools on my production site, it automatically grabs source map files from my server (accessible only to me), and I see the whole source tree of original coffeescript files, with complete access to breakpoints and stack traces.

Re:Haste language by thinkpad20 on Thursday April 03, 2014 @08:55PM (#7528380)
With the kind of guarantees that Haskell's type system provides, I'd imagine that wouldn't be much of an issue. It's certainly an issue in CoffeeScript because that language has barely any more safety than JavaScript. Once the Haskell were compiled, the generated JavaScript would be necessary to read in the same way that the generated object code is when using GHC - that is, essentially never. I never use the debugger in Haskell, anyway, and I don't think most do. The type system and a strong suite of tests will suffice for most things. Although I'd be concerned about laziness, especially in a language without Haskell's GC.