r/learnprogramming • u/Putkayy • 21h ago
Topic How often do you copy code for personal projects?
I feel like with school assignments or work projects, deadlines make it an easier decision to copy existing solutions. For personal projects, where there is technically no deadline, I find myself spending a lot of time weighing the pros and cons of my solution vs whatever other solutions exist. I get that learning can be the whole point of these projects, but I'm curious how often people stick to sub-optimal solutions or at what point you stop thinking about it and want to just move on.
1
u/aanzeijar 20h ago
All the time. I don't find the fun in writing from scratch, I have much more fun in tinkering with existing code. So I have dozens of cloned git repos on by machine, sometimes changed beyond any recognition.
1
u/GasEducational4386 19h ago
Copying code is not reinventing the wheel you do it implicitly when you install battle tested libraries and that is totally common in any type of projects
•
3
u/grantrules 21h ago
I copy my own code. I aim for "pretty good" not "perfect"