What is the best way to improve our logical thinking while writing the programs?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

What is the best way to improve our logical thinking while writing the programs??

10th Mar 2018, 9:01 AM
VamsiKrishna
VamsiKrishna - avatar
6 Answers
+ 8
Like somebody already mentioned, write your program down in 'pathway' form. This is a really good method for finding bugs too. Trace variables and loops as they run through.
10th Mar 2018, 9:32 PM
MaddyChan
MaddyChan - avatar
+ 6
Pencil and paper, If you can write down how you achieve the output with inbetween steps, you can code it.
10th Mar 2018, 11:29 AM
Louis
Louis - avatar
+ 3
by understanding situation we are trying to replicate. A developer can only code as far as he understands!
10th Mar 2018, 10:10 AM
Strange
Strange - avatar
+ 1
By writing programs.
10th Mar 2018, 9:15 AM
Sylar
+ 1
practise 100 problems.
10th Mar 2018, 9:47 AM
Chinthaka de silva
Chinthaka de silva - avatar
- 1
Tharki
10th Apr 2018, 1:33 PM
VAIBHAV VERMA