Do you guys have any particular techniques you use to follow program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Do you guys have any particular techniques you use to follow program?

I think I am pretty good at following the code and understanding it general (especially when there are comments). I struggle a lot when I come across functions with in functions especially when the same function calls its self. Or if there is a for loop within the for loop. I always tend to get lost when I am trying to run the code in my head.

15th May 2018, 11:17 PM
Mish Akopyan
Mish Akopyan - avatar
2 Answers
0
honestly it is like following a specific logic. So run throught the code step by step.for example when you start looping u will continue to loop until a specific condition is met. a loop inside a loop same thing u cant go out of the outer function unless the inner is satisfied
15th May 2018, 11:32 PM
Alain Sfeir
Alain Sfeir - avatar
0
thanks for the reply guys. I think I going to try the debugger. I never actually used it. but gonna learn how.
15th May 2018, 11:54 PM
Mish Akopyan
Mish Akopyan - avatar