0
What do you need to think while coding?
I get stuck a lot while coding,I cant think of what to do or how to do?Maybe it is because I have just started learning Coding.Will I get better with practice?What do I have to keep in mind while coding?
2 Respostas
+ 3
In coding you just need logic. You don't need any hard math or other things.
Try every code yourself and try to do it in a different way. Don't give up.
Keep learning!
+ 3
Firstly, what you need to keep in mind while coding is: KEEP IT SIMPLE. If you are not a visual person and like writing, just write down a list of what your problem is first. After you can break the list into smaller tasks that you can solve. Try not to overthink things, and if you feel that you are getting stuck, always refer back to your list and check what you are trying to solve.
Secondly, practice is good but too much coding with no breaks is like running a 1000 miles without drinking water. It will wear you down. When you find yourself not being able to solve a problem. Sometimes it's good to leave it for a couple of minutes. Make some coffee/tea or something, and then come back and face your problem. Programming is about Logic as said so keeping your brain fresh is key. And taking breaks is a very good start. No one learns how to code in a day or even a month, it's a learning curve and everyone's brain can take in so much.
Thirdly/Lastly, practice is very important, but structured practice is more efficient. Do some research on what you want to learn from the language you're learning from. Create a list if you have to and break it down. Try and grasp the small fundamental things of the language, because they will carry you through to the advanced level. Don't give up and just have a desire to learn something new everyday no matter how tiny it is about the language. Don't give up and have fun coding !!!