3 ms·
While very impressive it makes me nervous. The JS it outputs just in the basic tutorial looks extremely complex, I'd hate to debug that code! Compare with Coffe
by jonny_eh 14y ago
While very impressive it makes me nervous. The JS it outputs just in the basic tutorial looks extremely complex, I'd hate to debug that code! Compare with CoffeeScript, where the output is quite easy to follow, and therefore debug.
- wtetzner 14y agoThe difference is that CoffeeScript was designed to compile to JavaScript, so it can adopt JavaScript semantics. Ruby doesn't have the same semantics as JavaScript, so you can't have a 1-to-1 mapping of language constructs.
- jonny_eh 14y agoOh I get that. I'm sure they did as good as job as possible, but it still makes me nervous. As nice a language as Ruby is, I don't think it's worth the trade-off. I'll stick with CoffeeScript since it's a nice compromise between Ruby and JavaScript.
- denysonique 14y agoOpalScript is going to solve this problem