Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Code Length Measured in 14 Languages (wolfram.com)
2 points by rlander on March 15, 2013 | hide | past | favorite | 1 comment


Interesting, but he does his comparisons based on line count. Only at the end of a too lengthy article does he show the comparisons based on character and token length. And his definition of token is faulty. As far as I can see it is only identifiers and keywords. (I didnt actually read the code.) Token length is good as it normalizes for stylistic differences, but tokens should include symbols as well as identifiers.




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

Search: