Counting lines is probably a good idea if you want to print it out and are short on paper, but I fail to see the purpose otherwise.
Erik NaggumGetting C programmers to understand that they cause the computer to do less than minimum is intractable. โฆ Ask him why he thinks he should be able to get away with unsafe code, core dumps, viruses, buffer overruns, undetected errors, etc., just because he wants speed.
Erik NaggumThat's why the smartest companies use Common Lisp, but lie about it so all their competitors think Lisp is slow and C++ is fast.
Erik NaggumLife is too long to be good at C++ โ if you had spent all that time to become good at it, you would essentially have to work with it, too, to get back the costs, and that would just be some long, drawn-out torture.
Erik Naggum