Foss lect 8 1 11.txt: Difference between revisions
No edit summary |
No edit summary |
||
| Line 43: | Line 43: | ||
Code Browsing tips by Abhijit Sir: | Code Browsing tips by Abhijit Sir: | ||
* READIT (Go through the README file). | |||
* Use tools like cscope and ctags. | |||
* Read and understand the data structure. | |||
* Find the mainline. | |||
* 30-50% is error checking code. Ignore it for initial study. | |||
* Many header files in large C code, often nested. | |||
* C is being used in object oriented programming, with functions pointers heavily used. | |||
* What you cant find with an automated tool, might be in a library. Try to avoid reading those internals. Go for library documentation. Or it may be in a different language. | |||
* Keep writing notes and draw diagrams of data structures. | |||
Hyphenation Session by Shravan: | Hyphenation Session by Shravan: | ||