+ 8

Is there any way to remember the logic of the code??

26th Dec 2018, 3:58 PM
Teja
Teja - avatar
13 Antworten
+ 35
Comment the code. This way the next time you revisit the code you know what each line does and it is easier to recollect
26th Dec 2018, 5:19 PM
Mitali
Mitali - avatar
+ 12
Try to execute function or whole program by taking some values in rough.
27th Dec 2018, 4:48 PM
Priyanka♥️
+ 9
I think the best way is to write comments that describe what your code does and description of variables
26th Dec 2018, 4:44 PM
OYAMO BRIAN
OYAMO BRIAN - avatar
+ 7
Euh, please Andrew McIntyre, what is a tag tag 5 mécanism ?🤔
26th Dec 2018, 9:00 PM
Laurent Chretien
Laurent Chretien - avatar
+ 5
If you mean save data that was predefined in the program or generated via user input, you can save it locally in a data file or maybe incorporate remote or local databases.
26th Dec 2018, 4:59 PM
Dread
Dread - avatar
+ 4
Just keep track on flow of every variable and execute the program in your own brain. And you will get logic
26th Dec 2018, 5:25 PM
#DARK_PROGRAMMER_✔
#DARK_PROGRAMMER_✔ - avatar
+ 3
Also, tags are separated by spaces, not commas. So your tag is being treated as 1 big tag rather than 4 tags.
26th Dec 2018, 6:21 PM
Daniel Cooper
Daniel Cooper - avatar
+ 1
Laurent Chretien Haha just trolling. I'm new to coding so just spreading my inner confusion around the q&a section
26th Dec 2018, 9:04 PM
Andrew McIntyre
Andrew McIntyre - avatar
+ 1
By understanding...try out each step on a piece of paper and it will help a lot
27th Dec 2018, 7:24 AM
Mystic77
Mystic77 - avatar
+ 1
Good names for all (variables, functions, methods, class, enum etc.), even long names if needed, is a very good way to remember the logic of the code. Choose names which indicates the full variable meaning. Comments are also important, but keeping them synchronized with code is not often done by programmers.
1st Jan 2019, 10:11 AM
Manuel U.
Manuel U. - avatar
0
Use special calculator mechanism tag tag 5
26th Dec 2018, 7:53 PM
Andrew McIntyre
Andrew McIntyre - avatar
0
mitali can u give me ur Instagram user name..I av an idea in programming
27th Dec 2018, 7:15 AM
Chukwuma Micheal
Chukwuma Micheal - avatar
0
I'm new to coding
28th Dec 2018, 7:24 PM
Kolapo Olayinka
Kolapo Olayinka - avatar