4 ms·
To be honest, I do not like the idea. I do not use node much, only played with it a little. Now about CoffeeScript, I CANT read it, hurts my brain pretty bad, a
by LoneWolf 15y ago
To be honest, I do not like the idea.
I do not use node much, only played with it a little.
Now about CoffeeScript, I CANT read it, hurts my brain pretty bad, and I fail to see how can it be good.
- ntime 15y ago"hurts my brain" == "don't understand" *I use vanilla JS.
- djtriptych 15y agoIf you really used vanilla JS you would have used the typed equality operator :P. === fo' life.
- maratd 15y agoNo, he wouldn't have. If you use === everywhere, you're wasting bandwidth for the extra character. Use === only when the type matters and is likely to be different. 99% of the time, it's when you want to distinguish between undefined, false, 0, and null.
- ZenPsycho 15y agothat's a false economy since you must also include however many bytes it takes to explain in a comment that you used == on purpose, and not as a typo- to warn future maintainers not to switch it to === when they run it through JSLINT.
- maratd 15y agoYou put comments in code? I place all comments in a separate markdown file.
- ZenPsycho 15y agoI normally don't. Unless I do something silly like use == that could be taken as a mistake.
- vertr 15y agoCould you share a link that describes this? I'm having trouble finding anything about it.
- maratd 15y agoJust take a look at how Mootools or Node.JS takes care of their documentation. Same principal. There is no need for comments/documentation to muck up code.
- leptons 15y agoPut comments in code, and then run your code through YUI or similar to strip the comments and whitespace when deploying.
- leptons 15y agoIt takes more effort to understand the nuances of code written using significant whitespace than it does with a C style language where statements are clearly broken up for you. There is less room for ambiguity, and less room for user error.
- bullshite 15y agoMaybe the problem lies in your brain, and not coffee script. You aren't a super genius. Humble yourself, admit you suck ass, and try to make yourself better
- LoneWolf 15y agoThen tell me why is coffeescript good. Because I fail to see it