Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


I 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)


From the C code I've seen, 300 lines sounds like standard fare.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: