4 ms·
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 re
by kin 14y ago
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
- kzahel 14y agoThat'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!
- kin 14y agowell, 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.
- njharman 14y ago> 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".