+ 1

speed and more efficiently

What are exercise to do to help with the speed at which I can make a program. Speed along with efficacy seems to be the name of the game,,,,(this is a typical newbie question that relates to time)...

11th May 2019, 11:27 PM
Paras finn
Paras finn - avatar
2 Answers
+ 7
One bad thing beginners tend to make: Write a long chunk of code hoping it will run in the end. And when it doesn't run, it takes eternally to find out what's wrong. The lesson must be: Look before you leap! Always only write only a few lines of codes; test if it does what you expect; only if everything's fine, move on to the next few lines. Best is thinking about how to split your program in little subtasks. Put them into functions which makes them easy to test.
11th May 2019, 11:48 PM
HonFu
HonFu - avatar
+ 4
well you can try out some of the assignments in sololearn, they are easy problems, which can give you a feeling on how to approach a problem. After solving them you can even practice even more and make them more and more efficient ... If you code alot you get better and better! happy coding! 😄
11th May 2019, 11:35 PM
Anton Böhler
Anton Böhler - avatar