|
|
|
|
|
by ShamelessC
1387 days ago
|
|
> Even if that was true, the above is 7 lines of code. That is 3.5 times as many LOC as my 2 liner. Science shows us that the amount of resources required to maintain code is proportional to the LOC count. Your example is hence 3.5 times more demanding in both initial resources to create it and resources required to maintain it. One of OOP's sales pitches was "that it makes it easier to maintain your code". You just scientifically proved it wrong ... I think it has to be trolling, right? I haven't seen mention of LOC as a useful metric since the oughts. |
|