Re:Show HN: Decaffeinate converts CoffeeScript projects to m...
by johnfn on Monday June 19, 2017 @01:31AM
(#14584778)
Hasn't the community (finally) learned that simply transposing a better syntax onto JavaScript does not solve or help programmers in a meaningful way like the way that static typing does? Or is me hoping that a community will collectively reach a realization like this a pipe dream?
[ Parent
| on HN ]
Re:Show HN: Decaffeinate converts CoffeeScript projects to m...
by gmac on Monday June 19, 2017 @01:50AM
(#14584827)
Patronizing? I've mostly switched to TypeScript from CoffeeScript for the time being, because types are indeed a huge boon, but a better syntax is meaningfully helpful and my preference any day would be for some merger into typed CoffeeScript.
Re:Show HN: Decaffeinate converts CoffeeScript projects to m...
by johnfn on Monday June 19, 2017 @03:17AM
(#14585112)
Yeah, I guess TypedCoffeeScript would be better than just one or the other.
Re:Show HN: Decaffeinate converts CoffeeScript projects to m...
by rpeden on Monday June 19, 2017 @08:08AM
(#14586268)
For what it's worth, I've found that F# has a similar 'feel' to what I'd expect from a typed CoffeeScript. I'm not sure exactly why; it's probably just the look and shape of the code, along with the lack of brackets.
Writing React apps in F# using Fable is pretty nice, too.
Re:Show HN: Decaffeinate converts CoffeeScript projects to m...
by elmigranto on Monday June 19, 2017 @05:04AM
(#14585507)
Elm is nice. Typescript is okay. Heck, you can even Java if that floats your boat. And with WebAssembly…
If you don't like the language, but have to use it, use it as compiler target, simple as that.