0

How to understand code

20th Nov 2016, 3:39 PM
code-junkie
code-junkie - avatar
2 Answers
+ 1
When there's a piece of code I don't understand, there are a few things I do. 1) I use the debugger and step through it line by line to try and see what's going on. 2) I may come across one line that confuses me, in which case I try to Google it if I can't understand it myself. 3) I may have some code I do somewhat understand and will change random things about it to see how it affects the program.
20th Nov 2016, 3:43 PM
scott johnson
scott johnson - avatar
0
You could try using visualize tools available online. You can check what each line of code does.
20th Nov 2016, 4:56 PM
Akash Vibhute
Akash Vibhute - avatar