+ 1
Is looking at someone's code to figure out how to do something a bad thing?
someone told me instead of following tutorials and looking at other people's code is a bad way to learn. Is it true? It probably is copying but I do it to learn what the DOM events do and how I could use them in the future to solve problems. I was trying to make a to do list and didn't know how to do it after trying so I watch a YouTube video have someone else doing it and followed along so I could make my own and understand it. But is it copying?
7 Answers
+ 4
Naah , see other codes if it's allowed ( generally if it's visible to you that means you can see it &, play with it to learn as much as you like.)
But if you include that code in your work you have to make sure that the original author permits it and do as the licence suggests.
Actually seeing other codes are the best way we get to know the popular patterns , efficient coding techniques and the used of Libraries, APIs etc
+ 3
Learning from other's codes is a good thing and can help with your learning. It also trains your ability to read code which was written by someone else.
But what you shouldn't do is copy&paste different code snippets into a messed up patchwork which
a) is way beyond your knowledge
b) has different layout styles
c) is not working well together
Don't create "Frankenstein" code.
If you look at other's codes to learn from them try to rewrite the concept yourself. Being able to recreate it is a good sign that you've understood it.
+ 2
i didn't take the whole thing or even copy in paste. I used their method of adding input values to a list.
- 1
??? Are you answering me or asking a question?
- 3
NO
- 4
It's a YES OR NO QUESTION!!!!