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

>People rarely read code in its entirety, like a novel. There is almost always a specific question they want to answer. It might be "how will it behave in this use case?", "how will this change affect its behaviour?" or "what change should I make it to achieve this new behaviour?". Alternatively, it might be something more high level, but still specific, like "how does this fit together?" (i.e. there's a desire to understand the overall organisational principles of the code, rather than a specific detail).

+1. For me the most frustrating one is "where is the core logic for this one user-visible feature actually implemented?"

You look in all the obvious places and it's just nowhere to be found. Or it's shredded into tiny pieces and scattered across multiple files and seventeen layers of inheritance ...





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

Search: