3 ms·
Probably, but sometimes you have to work on other peoples's code. The worst for me was a 312 line function, which nearly caused me to quit.
by pivo 15y ago
Probably, but sometimes you have to work on other peoples's code. The worst for me was a 312 line function, which nearly caused me to quit.
- __rkaup__ 15y agoFrom the C code I've seen, 300 lines sounds like standard fare.
- LukeShu 15y agoI don't think that people give this situation enough credit. I once took over a project of about 30,000 lines of C++, with only about one line of commenting per 1,000 lines; and was frustrated with a lot of tools/documentation/suggestions that amounted to "don't write code like that". (Doxygen ended up being my friend)