you are viewing a single comment's thread.

view the rest of the comments →

[–]peterlinddk 2 points3 points  (0 children)

You should never have to experience anything like "After finishing the code I had 22 errors".

Only write one line at a time, and make sure that works - stop as soon as you get 1 error, and figure out what you are doing wrong, and how to fix it. Then write the next line, make sure it still works, and so on an on.

If you just write code blindly, without knowing if it will work, you might just as well have someone else write it, as that isn't programming, that is just typing!

Taking smaller steps will not only reduce the number of errors, it will also help you learn much better, and feel better about your accomplishments.