+ 1

Whom to learn from?

What do you think is the better way to learn programming? By reading clean and good code from pros or by reading code from beginners and try to improve it in one or several ways? I do actually have an opinion about that, but I‘m very interested in reading your opinions.

16th Sep 2018, 9:55 AM
Marc Maurer
Marc Maurer - avatar
7 Réponses
+ 7
And again, why not both? Reading clean code and refactoring poor code is not mutually exclusive.
16th Sep 2018, 12:56 PM
Hatsy Rei
Hatsy Rei - avatar
+ 3
There is an applocation called edbooks ,it got free coding books for all languages ,withe exrcises in it. python:https://github.com/zhiwehu/Python-programming-exercises/blob/master/100%2B%20Python%20challenging%20programming%20exercises.txt c#:app called exercises c#,it got solutions too there is also an app called algorithems,only some of it is free but it got good explanations,its good for all languages. sololearn challenges,i dont suggest to start with them,some of them are complicated and not leveld. app called idea bag2. There is alot of websites and apps that got programming challenges. some websites even offer a coding war between other players at real time. again, remember to try solving those problems alone at first,try solving it with a pen and paper without code,if you need to sort an array,draw an array and think how you can sort it loggicly,then go to the computer.after you finished ,wether you failed or not,watch the pro's solution. Have fun!
16th Sep 2018, 5:31 PM
gil gil
+ 2
Thank you Ina and Hatsy Rei for your answer. I don‘t think of those two ways as exclusive ones. And I learned from your answer something that I didn‘t realized: With programming it‘s like with other creative arts: Copying from the masters gives you the tools to find your own way. Thank you
16th Sep 2018, 1:50 PM
Marc Maurer
Marc Maurer - avatar
+ 2
The best way to learn if you are a begginer in my opinion is to solve easy tasks, then look at the code that was given as the answer and compare it to your code find a hub of questions in the internet with example codes
16th Sep 2018, 3:37 PM
gil gil
+ 2
gil gil Thank you for the link to the Python exercises on GitHub. This is what I need right now, I guess. Right now I have to look for ideas and work on a little game since two days. I hope these exercises will help me to improve my skills.
16th Sep 2018, 6:49 PM
Marc Maurer
Marc Maurer - avatar
+ 1
gil gil Do you have the address of such a hub? And btw: Thanks for your answer ;)
16th Sep 2018, 4:03 PM
Marc Maurer
Marc Maurer - avatar