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

It pains me to think of the amount of damage this class of false positive is silently doing.


What false positive?


> Large functions and large files are punished by that grading metric. I prefer to organize my code with lexical scope because the structure of code directly reflects the availability of capabilities. That is more simple but it also tends to result in really large functions that are trees of child functions. In this sense the Code Climate grading metric punishes that form of simplicity and instead suggests breaking things apart into many pieces to be put together. That is a punishment of simplicity in a very direct way even though the result is clean code that is faster to read




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

Search: