DEV Community

Discussion on: OOP a software development mass psychosis

 
siy profile image
Sergiy Yevtushenko

LOC metric as a factor determining resources makes sense only under identical circumstances. Once you change language, code style or even formatting, comparison of LOC gets meaningless.
Simple example: make a license header mandatory in each source file and LOC will immediately grow, but maintenance efforts will barely change because processing is automated and folding in IDE will preserve user experience.

Thread Thread
 
polterguy profile image
Thomas Hansen AINIRO.IO

Once you change language, code style or even formatting, comparison of LOC gets meaningless

Actually, this was Randy's exact point, that it doesn't matter, and he used it as an argument to prove how "assembly programming is only 25% more resource intensive than C", so not it doesn't matter actually ...

Thread Thread
 
siy profile image
Sergiy Yevtushenko

I didn't say it doesn't matter. I did say that comparison makes sense only in same conditions.