Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's wrong with compiling to JavaScript? It's already widely supported and if you're compiling another language to it you can pretend like it doesn't exist.

I can understand not liking JavaScript, but hating it with a passion seems excessive. Do you really hate JavaScript or just having to deal with the issues of incompatible browsers? I prefer languages like Haskell that enforce strong static typing, but as far as runtime typed languages go I think JavaScript is pretty nice.



I guess I would be concerned about compiling to JS because you're adding another layer of abstraction on an already fussy language (when being interpreted by the browser). It's hard enough to find bugs as it is.

I'm a big fan of Haskell, too. The type system alone makes it a wonderful language to work in.


I guess I would be concerned about compiling to JS because you're adding another layer of abstraction on an already fussy language (when being interpreted by the browser). It's hard enough to find bugs as it is.

On the other hand, mechanically generating the code you've abstracted away will make sure you only get the same bugs every time. ;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: