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

Code Complete has chapters on classes, functions, then several chapters on statements and several on variables. McConnell also refers to studies throughout - for example, he says studies show it is not necessarily that long functions are bad in and of themselves, but that the longer a function is, the more odds it will introduce more variables, and using too many variables in one function is bad. Somewhat dry, academic, great detail about the topics I mentioned with references to studies.

I also like Clean Code by Bob Martin. It covers similar ground to Code Complete but it is more opinionated, and was an easy read for me and has a narrative drive. As opposed to the more academic Code Complete which covers things thoroughly, and with references to studies. Both are good books, covering similar ground, I like them both.



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

Search: