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

I never understood why is it when people talk about LoC of code written, they always use 'lines added - lines removed'. If I do a run 10km run and end up in the same place I started, it's not a 0km run.


I think a part of it is that dumb diff tools may record large diffs when the change in functionality is limited and the rest is more or less moving lines around. Like making

if cond { ... return; } ...

into

if cond { ... return; } else { .... }

But that's not comprehensive either.




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

Search: