I've never understood this criticism before. Consider this line of python:
x = 3
To this line in C:
DoAllTheThings();
A single line of code is a bad comparison because it doesn't say anything about the underlying language or platform.
I've never understood this criticism before. Consider this line of python:
x = 3
To this line in C:
DoAllTheThings();
A single line of code is a bad comparison because it doesn't say anything about the underlying language or platform.
We know a single line of code can do a lot of things in both languages. The question is what does the average line do. And this is important, because the occurrence of bugs is directly correlated with lines written rather than the complexity of those lines, and the same seems to be true for programmer productivity. So if 100 lines of Python does more than 100 lines of C, this is an important fact, as in first case more will have been accomplished for the same amount of work and the same debugging effort.
Not even when you come up with an answer will you be able to say something about a single line of code. Meaningful statements can only be made about lots of lines of code.
Except perhaps about vb. Screw that language.