+ 2
Why am I usually confused when programming?
I understand the code, but I don't know what functions, words, etc. that I need to put down in the code. If someone can answer this, that would be great.
8 Respuestas
+ 8
I think this happens to everyone on different levels. Noone can be expected to remember everything. Thats what computers are for. Learning requires repetition, or practice. And some people need more than others. Instead of just coding, try systematically pacticing different aspects until they become more familiar to you. Then repeat
+ 3
How do you practice coding?
+ 3
I understand your dufficulty as you expecting to much from yourself by thinking, that by having studied some functions and control structures you should be able to sit down and solve complex problems.
Everyone starts there and gets past this point by studying and restudying simple problems and solutions. Then you try to solve simple problems on your own and the first thing you learn there is to recognize and break down the process into single steps and finding the right function or control structure to accomplish that step's goal. You will be going back to your initial samples and other peoples' solutions a lot at first in order to learn, how to think and what ways of solving individual problems there are.
Keep heart and stay on it. There are some things that are ready hard to understand and even harder to replicate.
After that the challenge is to link up one solution after the other to create a process.
Look for simple tasks to practise in, e.g. print all odd numbers of Range 0-100; print all leap years.
+ 2
I just code, when I forget about something, I usually go back to what it does exactly. Then I forget about the stuff after. l have a bad memory. The things I can use at ease are:
Print
Input
If-else
For loops
and While loops
+ 2
Pixelite About how long ago did you start learning to program?
If you had to guess, about how many hours would you estimate you've spent typing actual code?
- 1 to 4 hours
- 4 to 12 hours
- 12 to 24 hours
- 24 to 40 hours
- 40+ hours
Remember, the options above should reflect the cumulative total of time you've been at a keyboard, typing out code.
+ 2
David Carroll 40+ Hours
+ 1
Do you write down in paper a Fluxogram of how the program shall work? This might help you not to get lost when "coming back" to the code.
+ 1
Pixelite How long ago did you start learning?