Live data from Hacker News

Want to learn to code? Don't copy and paste, type out other people's code

shockoe.com

1–10 of 184 posts

Re: Want to learn to code? Don't copy and paste, type out other people's code

#4
I agree with this article, typing the code out (as long as you are focusing on it and not just typing absentmindedly) really forces you to read all of the code, which should help you understand what is happening. Just as in the article I have also found myself unable to write my own code at times due to working off of other programs or snippets. When I type it out though I gain a much more thorough knowledge of the api or language.

Re: Want to learn to code? Don't copy and paste, type out other people's code

#6
I also agree strongly with this statement.

When I was in school, I found that the most important part of the notetaking process was manually writing the notes during lectures. Reading them afterwards rarely helped me remember or learn more. Reading notes written by someone else was next to useless.

Re: Want to learn to code? Don't copy and paste, type out other people's code

#9
Even more important is to go over every line and don't go on to the next line until you are sure you understand. Just like you can read without understanding you can type without understanding as well. Forcing yourself to understand will make you a much better programmer.

Re: Want to learn to code? Don't copy and paste, type out other people's code

#10

I also agree strongly with this statement. When I was in school, I found that the most important part of the notetaking process was manually writing the notes during lectures. Reading them afterwards rarely helped me remember or learn more. Reading notes written by someone else was next to useless.

I used to write notes and then throw them straight in the bin. My handwriting was effectively illegible and if I needed to know something, I'd look it up again and write new notes... and throw those away too.
Post reply on HN