Hacker News new | ask | show | jobs
by greyfade 2473 days ago
I think it's fair to say that LoC is perhaps the least relevant metric it is possible to imagine.

Languages differ in expressive power in ways that effectively mean that 200kLoC in one language is trivial to implement in a few thousand lines in another. Even within one language, two implementations of the same effective feature can be devised with similarly large differences in line count, if one prioritizes brevity over efficiency.

A simple criterion like this would be laughably useless and abused to absurd degrees.

1 comments

I don't mean that 200kloc implementation proves non-triviality, I mean 100kloc implementation proves triviality. Also efficiency is achieved by implementation of specific algorithm, not by code formatting.