2 answers
2 answers
Updated
Ximena’s Answer
Hey there, Joshua! If you're looking to become a master at computer programming, just stick to these simple steps:
1. Choose a programming language that fits your needs
2. Make sure you've got the basics down pat
3. Gradually step up from the basics to more advanced stuff
4. Keep practicing - practice makes perfect, after all!
5. Start creating small and big projects
6. Don't forget to share your code and what you've learned with others
For a deeper dive, check out this link: https://www.geeksforgeeks.org/6-steps-to-learn-and-master-a-programming-language/
1. Choose a programming language that fits your needs
2. Make sure you've got the basics down pat
3. Gradually step up from the basics to more advanced stuff
4. Keep practicing - practice makes perfect, after all!
5. Start creating small and big projects
6. Don't forget to share your code and what you've learned with others
For a deeper dive, check out this link: https://www.geeksforgeeks.org/6-steps-to-learn-and-master-a-programming-language/
Updated
William’s Answer
Hi Joshua,
There's an old adage that says "practice makes perfect". Programming/writing code is no different - the more your write, the better you will be.
Getting a solid understanding of common basics is the foundational footing that you need. For example, virtually every language has a concept of "if/then/else" and "loop/for/while". They also typically have concepts around data types (strings, numbers, booleans, etc.). Understanding these basics, you can then approach more language-specific aspects, such as actual functions, methods, and in some cases the literal formatting of the code in the file.
Look at other people's code. See how other people approached a given problem.
Finally... learn how to write "comments" in your code to explain what you are trying to do. A common practice I use personally is that I pseudo-code in readible sentences, then convert the sentence to the actual code itself. That way, I already have my comments IF the code cannot explain itself. I saw a statement before, and I'll paraphrase - "A good programmer can write code. A great programmer can write code, and have someone look at the code and say 'I could have written that.'"
Good luck!
There's an old adage that says "practice makes perfect". Programming/writing code is no different - the more your write, the better you will be.
Getting a solid understanding of common basics is the foundational footing that you need. For example, virtually every language has a concept of "if/then/else" and "loop/for/while". They also typically have concepts around data types (strings, numbers, booleans, etc.). Understanding these basics, you can then approach more language-specific aspects, such as actual functions, methods, and in some cases the literal formatting of the code in the file.
Look at other people's code. See how other people approached a given problem.
Finally... learn how to write "comments" in your code to explain what you are trying to do. A common practice I use personally is that I pseudo-code in readible sentences, then convert the sentence to the actual code itself. That way, I already have my comments IF the code cannot explain itself. I saw a statement before, and I'll paraphrase - "A good programmer can write code. A great programmer can write code, and have someone look at the code and say 'I could have written that.'"
Good luck!