Re:Announcing CoffeeScript 2
by munificent on Monday September 18, 2017 @01:32PM
(#15277813)
I think it's worth remembering too that the reason JS is "good enough" for most these days is because of all of the great language features that you and friends put into CoffeeScript and which then got adopted by JS.
This is not said often enough. Thanks, jashkenas!
Re:Announcing CoffeeScript 2
by anythrow123 on Monday September 18, 2017 @01:20PM
(#15277715)
I still use CS every day on multiple projects. IMAO CS is one of the best non-typed languages out there. It's really sad that so many modern/babel JS proponents fail to see the beauty of it.
I hope that this release (and hopefully future releases) will help to keep CS alive. Thanks to all contributors!
Thank you! I love CoffeeScript! It's been so sad to see it slowly fade away in favor of, in my opinion, inferior and uglier things. I -- and many others, I'm sure -- appreciate this update a great deal. I hope I get to write beautiful CoffeeScript code again soon.
To parent post, why should we settle for "good enough"?
Re:Announcing CoffeeScript 2
by madeofpalk on Monday September 18, 2017 @12:37PM
(#15277332)
> To parent post, why should we settle for "good enough"?
Because it's an actual standard and benefits from wider mindshare and support.
Hey, I'm working on a template language that compiles into Redux + IncrementalDOM. Part of it involves a pipeline syntax similar to underscore or lodash. I'm wondering what you would consider a modern equivalent of those two libraries using native methods, iterators, etc. or if vanillajs is sufficient now.
If anyone wants to take a look it's at tmzt.github.io/isymtope and github.com/tmzt/isymtope
The #cleanup-symbols branch is much further along and has a mostly working TodoMvc.
Hmmm. If you're doing the compilation yourself, I'd imagine you could rely on what browsers provide these days, and compile to what you need. For the kinds of data transformations that templates tend to need, I wouldn't imagine that you'd really find a utility library to be necessary. Check out the Svelte output, for example.
But for the folks who still do — or have existing codebases — this update is for you.