Conversation
Come on guys. Time to upgrade.
Do the tests still run? Also, coco is better. |
+1, there's no way core can be written in JS. You need these advanced features and only CoffeeScript can provide them. |
YEAH! THIS ISN'T A TROLL! AT ALL! much. |
+1. Now I can actually read Node's source. |
Nice! |
Dart is so much better, but we should ditch V8 in favor of SpiderMonkey too #lol |
-1. Now I can't read Node's source. |
+1. Now I am willing to read Node's source. |
You were supposed to wait until april 1st to do this! |
You should use |
nom nom |
Also, you should omit call parens where possible, looks much better. |
Stop wasting our time. |
node core devs cannot into jokes? |
"Wasting it with AWESOMENESS" - maccaw |
Wha?! Do you realize how much time it took me to port the entire stdlib of node to CoffeeScript? It was so awesome! |
@mjijackson Sure you didn't use js2coffee? ;) |
15 896 / 6 501 = 2.44516228 I think you need to close this pull request 1.44516228 more times in order to maintain your current level of efficiency. |
Worthiness of troll attempt aside, I do find the differences in line counts interesting. |
Wow, this didn't last long at all. |
How long until this is posted on hacker news I wonder. |
@jesusabdullah Char count would probably say more. |
@mjijackson Sorry, I have to agree with @pquerna. Not a very well executed troll. You're too well known of a noder (and not well-known as a crazy idiot), so it's obvious this is a joke. Too obvious to be funny, I'm afraid. It would have been better to start a new github account to do this from, get denied with no explanation, then have Hacker News blow up in flames over how much paul hates open source contributions, and node isn't community-friendly. |
@thejh probably. If nothing else, this is definitely an interesting node/coffee case study, at least assuming he coffeescript is relatively idiomatic and not bizarro-generated. |
Hmm, 193440 chars coffee vs 433111 chars JS. And if he had used more cool syntax, it'd probably be even less chars. Well, code length isn't everything, but I think this does say something. |
@isaacs has a point here. |
/me thinks js2coffee needs to become better Also, we need js2coco. |
:o |
+1 |
node is dead anyway. Dart ftw. |
@tylermwashburn I don't see how Here is a great one. |
@visionmedia @AlejandroMG Technically |
@davej in context... that's like people using |
@visionmedia Sure, I was just pointing out that they are not the same thing and there are instances where |
I think I wouldn't want to use someone's software if they didn't know how to decide between == and === |
I love coffee, but one question, why is |
js → coffee → back to js, heh |
@davej @visionmedia It's a debate similar to the CS/JS one. Is it better to subsidize the original developer by spending the code maintenance time of future developers, or is it better to spread the cost evenly? CS wants to gain followers, so promotion of the former benefits make more sense. |
@visionmedia It's not about knowing how to decide between |
@NuckChorris You just reinvented AppleScript. |
Learn JavaScript. |
Guys, holy fuck. I know how to program. I know It was an example. |
In JS |
Coffee script is why programmers are disliked amongst our inter-disciplinary colleagues. |
-1 |
9/10 A- would troll again! |
-1 no need for code hipsters fad |
-1 |
1 similar comment
-1 |
awesome post |
does anyone remember PHP? they argued about backslashes as namespace separators. Bloody amateurs. |
DRY! -1 |
This is almost as funny as that time @dhh switched Rails over to CoffeeScript by default.... only he wasn't trolling. |
@mjijackson I think that if you're not trolling and are being serious about that, you have all the liberty of forking node and make your own project in CoffeScript based on it. |
@Denommus it's a troll |
I still think we should have waited til april fools for this. I was disappointed when I saw it in january. |
js2Coffee (and back)square = (x) -> x * x var square;
square = function(x) {
return x * x;
}; square = undefined
square = (x) ->
x * x var square;
square = void 0;
square = function(x) {
return x * x;
}; etc... |
Come on guys. Time to upgrade.