How to understand complex and horrible codes in programming languages?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

How to understand complex and horrible codes in programming languages??

I'm not understanding the codes of java, python, c++, etc. Please somebody suggest me any way to understand these complicated codes easily...

30th May 2019, 11:55 AM
ApidBoy
ApidBoy - avatar
6 Answers
+ 5
Samarth Singh Bachhotiya hi, First read the code problem and make step by step reading of each line and note important thing which is given in question by this way you first get to know what is the problem statement saying Read the theoretical concept of that problem statement and them try to see on code logic and creation of logic To understand any code first try to read the syntax what is made for and how this syntax is worked. After that try to understand the logic of that code which help you to define what the code logic is doing Then if you don't get the code logic properly post it here and ping me or anyone I'll help you out to explain the thing hidden behind the code. Have these 🍎 🍎 🍎 🍎
30th May 2019, 12:05 PM
DishaAhuja
DishaAhuja - avatar
+ 5
Break them down into smaller parts.
31st May 2019, 11:44 PM
Sonic
Sonic - avatar
+ 3
Use comment as helper to make your code can read easily. Thanks
1st Jun 2019, 12:10 PM
Rizki Rivaldi
+ 2
Thanks DishaAhuja!!
30th May 2019, 12:06 PM
ApidBoy
ApidBoy - avatar
+ 2
stick to one language and watch some beginners tutorials.
31st May 2019, 1:41 AM
Logomonic Learning
Logomonic Learning - avatar
0
Please avoid profanity
30th May 2019, 11:59 AM
Maneren
Maneren - avatar