+ 8
Is there any way to remember the logic of the code??
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
+ 12
Try to execute function or whole program by taking some values in rough.
+ 9
I think the best way is to write comments that describe what your code does and description of variables
+ 7
Euh, please Andrew McIntyre, what is a tag tag 5 mécanism ?🤔
+ 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.
+ 4
Just keep track on flow of every variable and execute the program in your own brain. And you will get logic
+ 3
Also, tags are separated by spaces, not commas. So your tag is being treated as 1 big tag rather than 4 tags.
+ 1
Laurent Chretien Haha just trolling. I'm new to coding so just spreading my inner confusion around the q&a section
+ 1
By understanding...try out each step on a piece of paper and it will help a lot
+ 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.
0
Use special calculator mechanism tag tag 5
0
mitali can u give me ur Instagram user name..I av an idea in programming
0
I'm new to coding