What is the best way for learning coding? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

What is the best way for learning coding?

Many will show the perfect solution but this is question is relative. My way for learning is a 5 steps method: read, try, search, retry and solution. The 1Ā° - read: is about get knowledge for a problem. The 2Ā° - try: is about to implement what you've learned from step 1. The 3Ā° - search: we'll always face some trouble in some point, but we can study, get more information and go to th 4Ā° step. Th 4Ā° - retry: this is the moment that you will redo what you've done but using the information got, researched. The 5Ā° - solution: this is the most important from the others, in this step we see if our output is correct and if not, this is the time to get more data to complete the task. I want to know what you think. Please sent comments showing your learning method

14th Nov 2018, 8:16 PM
Augusto Ferreira Tobias
Augusto Ferreira Tobias - avatar
9 Answers
+ 7
You should start from the easiest task to harder one. Practise every day. As an instance, write at least one code every day
15th Nov 2018, 2:40 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
The way I started to learn to code is by taking small steps. Start with a simple language. For example, HTML. Once you understand HTML combine it with CSS. Then, branch into other languages such as JavaScript and Python. Also, you must read about the programming language and try applying the methods you learned. Each day try to practice a language and enjoy learning each day!šŸ’»šŸ™šŸ˜
16th Nov 2018, 1:58 AM
Saul
Saul  - avatar
+ 4
I think best way to learn coding is to one problem daily on hacker rank or any other coding website and understand problem and by using dry run we can easily learn any program.
14th Nov 2018, 8:24 PM
ą¤•ą¤¾ą¤®ą„‡ą¤¶
ą¤•ą¤¾ą¤®ą„‡ą¤¶ - avatar
+ 4
Definitely read coding books and watch video tutorials, but the best way is to actually just code. Even if you are programming something simple, any coding practice helps, and things will be soon like muscle memory and come naturally.
15th Nov 2018, 11:41 PM
Henri Evjen
Henri Evjen - avatar
+ 3
Step 1: books, geeksforgeeks, youtube(read) Step 2: codechef, hackerrank, project euler(practice) Step 3: stackoverflow, friends(help) Step 4 and step 5: read other people's code that have already been submitted on step 2
16th Nov 2018, 7:30 PM
Ash
+ 2
I do like your method alot! But mine is slightly different. 1- Search about the language I want to learn and explore itā€™s ability (so it will create an inner driver that drive you to learn it non-stop, because what the language can do is exactly what youā€™ve been dreaming of) 2- Watch some kind of ā€œcompleteā€ tutorial in one video on Youtube to get an idea of how the language work, also, let your unconcious brain absorbs part of it. Donā€™t worry if you donā€™t understand everything, because later you will seriously read/ watch a course about that language and try it in much slower pace. 3- Retry, redo, repeat what Iā€™ve read (doesnā€™t take that long). 4- Look at the solutions/ other peopleā€™s code and ask why it is written like that. (I realized that by looking at other peopleā€™s code, we also learn a lot!) 5- Love what you do!
15th Nov 2018, 1:40 AM
Quang Tran
Quang Tran - avatar
+ 2
The quick answer is to go through classes via SoloLearn! šŸ˜Š What I like to do is to go through a tutorial on a language and work through the examples. After working through the generic solutions then I try to see how I can modify the code to extend its functionality.
15th Nov 2018, 3:24 AM
Ethan
+ 2
daily practice and reading others work, hacker rank is great as well
16th Nov 2018, 6:35 PM
Matt Rocheleau
Matt Rocheleau - avatar
+ 1
I think The best ways to learn code that is build a own project and try to complete it.
15th Nov 2018, 3:49 AM
danvetio
danvetio - avatar