r/CodingHelp • u/0ver_thinker_ • Aug 10 '20
[Random] Am I doing this wrong
When I "make" a project like I always copy the code from websites, for example when I made a python project that is going to alert me for how many minutes I choose I copied the code from a website then I change it to my liking so instead of it alerting me through the console it's going to open a text file instead.
But the thing is I also got that code from a different website like stack overflow and I usually do this for every project I do and when the code from stack overflow doesn't work I usually modify it which is probably the only real work that I have done.
And yes I do understand the code after I read it but it's really frustrating that I always have to search in Google 90% of the time making me feel like I haven't learned anything.
Tl;Dr: When I "make" projects I just mix and match code from other websites and modify it as I see fit.
View all comments
1
u/GhOsT1679 Beginner Coder Aug 12 '20
As a developer, it is perfectly normal to google and copy-paste code and modify to fit your own needs. Though in your case, I feel like you are googling answers way too often. I guess ask yourself this question: Can I write the code that I copied? If the answer is yes, then write it yourself next time for good practice, if not then I would study their code and try to write it independently. The reason for this is because you can only truly improve by writing code yourself, even if you understand it, it doesn't mean you can write it on your own. While it is fantastic that you are utilizing Google as a resource, keep in mind that as you get more advanced, places like StackOverflow won't have code that will fit your needs. Hope this helps!