Hacker News new | ask | show | jobs
by yuchi 3668 days ago
As I said in another comment, I was developing something incredibly similar many years ago. I really believe it’s the best UI for a calendar.

I hope to help you somehow, I opensourced that small thing I built then: https://bitbucket.org/yuchi/dirt-testing-1

It’s written in Coffee Script (sorry, it was all the rage in 2012) but if you create an HTTP server in the root of the project everything should work out of the box because I checked in the compiled sources. To zoom in and out use shift-drag.

1 comments

CoffeeScript is still popular today even if it's not as "hyped" as it used to.
Unfortunately the CoffeeScript project seems to be in maintenance mode, and hasn't had a release for ~9 months.

Probably something to do with the ad hoc compiler and lack of ES6 support.

See https://github.com/jashkenas/coffeescript/graphs/contributor...

Wow that's crazy. I saw your comment and thought "no way." I'm not the most tied into open source development but it is very surprising to me that something that is so embedded inside Rails is not being actively developed. I wonder if Rails is going to move away from it now as it probably should anyway?
Maybe the language is just stabilized and works very well already, but it's still active: https://github.com/jashkenas/coffeescript/pulse (last commit is 6 days ago).

It doesn't say anywhere that it's in "maintenance" mode.

But it's true that it could be more active: http://coffeescript.org/#changelog

This is such a bummer to me. I was a late-comer to CoffeeScript (just joined a project at a company that's been using it for years), and I absolutely love it. I was really skeptical ("JavaScript works just fine! Why change the syntax for no reason?"), but it's so slick.
Same here. Personally I prefer ES6 for a few reasons:

- Future compatible, more interoperable

- ES6 classes can extend each other in a standards compliant way

- CS arrow functions feel verbose compared to ES6

- Constants

- More tooling support

- More features

- Upcoming features, like ES7 async/await have polyfills that you can use today (as opposed to CS - https://github.com/jashkenas/coffeescript/pull/3813)

Though I do miss a couple of things:

- The last expression in a block is implicitly returned (nice sugar for functional programming)

- Ranges ([1..10])