News for hackers. Stuff that matters.
Re:It’s all about being productive by joshontheweb on Wednesday May 08, 2013 @03:36AM (#5673007)
Gotta go with TJ on this one. I am unlikely to use it if it is written in coffeescript. If the rest of your codebase is in coffeescript I guess it could make sense but how many projects is that true for outside of Rails apps? I am deterred by the idea of adding the extra over head of having to use another style and fracturing my codebase. Just my two cents.
Re:It’s all about being productive by coffeemug on Wednesday May 08, 2013 @03:44AM (#5673027)
Slava @ rethink here. I'd like to understand your reasoning a little more -- could you explain what would turn you off from the driver? The node package ships as Javascript, and the API is extremely rigorously defined. If you use it from your Javascript app you never have to think about Coffeescript, nor even know that the driver is maintained in Coffeescript.

This is an implementation detail that shouldn't affect anyone but potential contributors in any way. Would you mind taking a moment to explain your rationale? (it would really help us)

Re:It’s all about being productive by h2s on Wednesday May 08, 2013 @03:52AM (#5673050)
It's because incorporating any open source product into your own project means you will need to read and/or modify its source code eventually. I work around deficient documentation by reading source code several times every day. And eventually you're gonna need to report or fix a bug, or in the best-case scenario add a feature yourself.

The sensible answer to this is "just learn CoffeeScript, then". I guess a lot of people don't want to, for whatever reason. Personally, I know I'm still a bit skeptical of the whole affair myself. The alternative to reading and learning CoffeeScript would be reading compiled JavaScript code. As somebody who occasionally works on something that compiles JavaScript, I know from experience that reading that stuff isn't very fun either!

Re:It’s all about being productive by wldlyinaccurate on Wednesday May 08, 2013 @04:12AM (#5673096)
> The sensible answer to this is "just learn CoffeeScript, then".

No, the sensible answer to this is "just read the compiled JavaScript". CoffeeScript compiles down to very nice, readable JS. I would even go so far as to say that compiled CoffeeScript is easier to read than 90% of the JavaScript you'd typically find in a open-source project.

Re:It’s all about being productive by coffeemug on Wednesday May 08, 2013 @03:57AM (#5673064)
I suppose this makes sense. In my experience, overwhelming majority of people using open source software never read the code. Some minority of people do read the code (but in that case, they'd be reading Javascript because that's how we ship the driver). A small proportion of the people reading the code actually end up modifying it themselves, and this admittedly is a problem (though I find Coffeescript so easy to pick up, I don't think it's a serious barrier for anyone who really wants to make changes).
Re:It’s all about being productive by whateverfor on Wednesday May 08, 2013 @04:35AM (#5673157)
Not that it's really an issue here because Coffescript is basically Javascript anyway, but legible source is important even for developers who don't end up reading it.

The people who actually read the code are a small subset of the group that depends on being able to read the code if necessary. I haven't needed to dive into the source for everything I've integrated into a product because of inadequate API documentation or bugs, but it happens, and it's not something you can generally tell ahead of time.

Re:It’s all about being productive by pbiggar on Wednesday May 08, 2013 @10:06AM (#5674160)
I'm trying to see what's offensive about learning CoffeeScript, or at least enough to read it? It's a 20 minute challenge at most, and at the end you've learned something.
Re:It’s all about being productive by wldlyinaccurate on Wednesday May 08, 2013 @03:44AM (#5673030)
I don't understand how the driver being written in CoffeeScript affects your ability to use it. You can download a precompiled (JS) version of the driver and just use it, right? You don't _need_ to write CoffeeScript to use the driver.
Re:It’s all about being productive by zk2 on Wednesday May 08, 2013 @12:47PM (#5675257)
And even if you do, it takes less then a day to learn it.