Hacker News new | ask | show | jobs
by devnull255 1801 days ago
Incorporating the "learning x the hard way approach", which is about typing the code, rather than just copying and pasting the code, also aids with learning quickly and giving more lasting power to the lesson. The best part of this is the mistakes you're more likely to make by typing, which forces you to look more closely at the original code so you can retype it correctly. I remember much more that way. Even more than that, making such mistakes may draw more attention to the object in error and consequently learn more about that object and how it fits into what you're trying to do.
1 comments

Came here to mention typing vs. copy/pasting. When going through a tutorial, don't copy and paste. Type out the code. I turn off code-completion in my editor as well.