Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

while the points in the article make sense and I agree, if you keep your Coffeescript code consistent I really don't suffer a readability problem, especially relative to JS where there's like 5x more code to go through


> you keep your Coffeescript code consistent

That is not enough, because unfortunately, there are more programmers in the world than "you", and I have to use their code and / or work with them.

When language has X options their is X! opinions on "consistent".


That's an unfair hyperbole. CS saves you at most ~30% characters, and that's when omitting every parenthesis possible.

I personally don't get excited by that prospect. Generators would get me excited, though!


well, personally when i converted over i never had to stare at these blocks anymore: } } } });

made code a lot easier to debug. and yes, consistency wasn't the only thing. i would say that converting over has a learning curve sure reading other people's code. but sacrificing readability long term compared to vanilla js? i wouldn't say that. i'm not saying there isn't ambiguity in the beginning but eventually you learn how to not do things in ambiguous ways.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: