Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Shorter code is inconsiderate – And it’s a waste of time (medium.com/on-coding)
1 point by klausjensen on March 16, 2015 | hide | past | favorite | 1 comment


No, shorter code is better, because bug number is proportional to the number of lines, therefore it contains less bugs.

Also, shorter code is better and more considerate, because it uses higher abstractions, and is therefore easier to read and to understand.

Also, more abstract code offers the opportunity for better optimization, since it gives more information to the compiler about what is done, and leaves more leeway as to how to optimize and generate the code.




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

Search: