Ask HN: How do you "read"/understand/interpret existing code for software?

https://news.ycombinator.com/item?id=2918920
by mpg33 • 15 years ago
4 4 15 years ago

You are looking at a chuck of code that is 1000 lines long...

- Say if the code has little to no documentation.

- Say that variables are mostly named with acronyms.

- Say there are 20 if statements including nested.

I am a very visually oriented person so i find it difficult.

What techniques do you use to understand what is happening?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com