3 ms·
But repetitive boilerplate is exactly the last thing that should get away scot-free in a measurement of code size.
by gruseom 15y ago
But repetitive boilerplate is exactly the last thing that should get away scot-free in a measurement of code size.
- jacques_chester 15y agoIt depends on what you want to know. Pure physical lines is one thing, "size" is a another.
- gruseom 15y agoI want a way to measure how complicated a program is that's independent of language and obviously extraneous things like line length.
- jacques_chester 15y agoYou may find that the Halstead metrics I mentioned are closer to what you're after.
- gruseom 15y agoI've changed my mind. I'm interested in what I originally said: what's the best way to measure code size, and what are those studies (if they exist). Otherwise we get into debates about size vs. complexity, which is actually less interesting IMO. Size as a proxy for complexity is good enough for me.