3 ms·
> > Number of lines of code has been shown to be one of the few good indicators for predicting defects. The token reduction is not that significant and the OP
by eternalban 14y ago
> > Number of lines of code has been shown to be one of the few good indicators for predicting defects.
The token reduction is not that significant and the OP is honest enough to note that "line" reductions boil down to lack of closing braces. Relevant study to cite would be one that compared languages with or without explicit notation of scope. Intuitively it seems to be that braces are a visual aid that reduce bugs and do not promot them.
- ilaksh 14y agoIts not just a lack of braces. There are fewer lines of code. Less typing and clearer code. Do yourself a favor and spend a day with CoffeeScript and then tell me what you think intuitively.