5 answers
5 answers
Updated
Christopher’s Answer
Programming is a implementation of logics.
When typing, you need to implement your logic for the problem exactly.
So you should THINK FIRST and then type in order according to your logics.
And then you need to know SYNTAX of each programming language. Logics are similar but syntax different.
Hope to be helpful for you.
When typing, you need to implement your logic for the problem exactly.
So you should THINK FIRST and then type in order according to your logics.
And then you need to know SYNTAX of each programming language. Logics are similar but syntax different.
Hope to be helpful for you.
Updated
Rafael’s Answer
Hi Joseph! Experienced programmers have a good grasp of what to type when coding due to their familiarity with programming languages, problem-solving abilities, use of documentation, experience, and learning from others. They understand language syntax, break down problems effectively, and consult references when necessary. Practice and trial-and-error also contribute to their proficiency in writing accurate code. Keep coding and never stop learning.!
Updated
Rob’s Answer
You can't and won't ever know it all from memory. It is too much and is constantly changing as computer science improves.
Focus your effort on learning the concepts of programming. How to use variables, arrays, matrices, basic logic, order of operations, and the foundations of computer science. These can all inform you in any language and help you successfully write code. Then as you choose a language learn the basic syntax, and how the lanuage works. As you get familiar with using it you will begin to remember the parts you use frequently. Become familiar with Google, how to search for code, and how to understand if the result it gives you will work for your use case. Sometimes it can take a few tries to get the natural language search to return the correct code snippets, but you can almost always find what you need.
Doctors don't know every disease... they take time and look things up... coders can (and do) too.
Focus your effort on learning the concepts of programming. How to use variables, arrays, matrices, basic logic, order of operations, and the foundations of computer science. These can all inform you in any language and help you successfully write code. Then as you choose a language learn the basic syntax, and how the lanuage works. As you get familiar with using it you will begin to remember the parts you use frequently. Become familiar with Google, how to search for code, and how to understand if the result it gives you will work for your use case. Sometimes it can take a few tries to get the natural language search to return the correct code snippets, but you can almost always find what you need.
Doctors don't know every disease... they take time and look things up... coders can (and do) too.
Updated
Tenchy’s Answer
We don't. A good chunk of our time is spent searching for code samples on Google or using resources like Stackoverflow. It's available, so why not take advantage of it? The internet is a fantastic tool for supporting your daily work tasks, as well as for learning new things. Youtube is another great resource. Remember, it's okay to be kind to yourself. We're all in a constant state of learning and relearning every day.
Updated
Fred’s Answer
Coding is really 90% thinking, and 10% typing.
You spend a lot of your time thinking about the design, about what you want your code to do, and researching how (and if) someone has already done something similar.
As you get more experience, things get easier. You spend less time trying to figure out some of the low level details. You may figure out you need to iterate through a list. If you've done that sort of thing a thousand times, you don't spend much nailing down those details, as you can almost code them from muscle memory. But if you DON'T know how to do it, you spend time researching.
You spend a lot of your time thinking about the design, about what you want your code to do, and researching how (and if) someone has already done something similar.
As you get more experience, things get easier. You spend less time trying to figure out some of the low level details. You may figure out you need to iterate through a list. If you've done that sort of thing a thousand times, you don't spend much nailing down those details, as you can almost code them from muscle memory. But if you DON'T know how to do it, you spend time researching.