4 ms·
Copy, paste, and modify is one of the ways I managed to learn web development in the first place. Sometimes, understanding doesn't come from reading alone. Yo
by teej 18y ago
Copy, paste, and modify is one of the ways I managed to learn web development in the first place. Sometimes, understanding doesn't come from reading alone. You need to feel the clay in your hands to mold it into the pot you want to make.
- tumult 18y agoIf you learn better that way, sure, feel free to do what works best for you. I don't see how this applies to the article, which advocates inserting code with a GUID in a comment so that you can find it again later and copy/paste a new version in.
- teej 18y agoIt's a direct response to your comment, not the article. "Don't copy and paste code that you don't understand or couldn't write yourself."
- gnaritas 18y agoEver think that it actually slows your learning down? Honestly, you learn code much better if you actually type it yourself. Even if you have a working example, retype it manually, it'll make you appreciate doing proper reuse via function calls much better. Copy and paste is a bad habit, code is not clay, and treating it as such hurts you.
- teej 18y agoI'm not saying I do this today, I'm saying it was integral to my learning process when I started, years ago. Typing it out doesn't help solve the issues of learning the subtleties of syntax. You need to start with something that works and then start seeing the ways your poor typing breaks the code.