I've been working with React.js, Node.js, and PostgreSQL for about two years now, but I've noticed that I rely heavily on copying code or examples. Whenever I attempt to create something from scratch without looking at references, I find it really difficult. I'm looking for effective ways to enhance my coding abilities and become more self-sufficient as a developer. Any tips from seasoned pros would be greatly appreciated!
3 Answers
Honestly, a big part of programming is about reusing existing solutions. A mentor of mine used to say that roughly 40% of what we do involves copying code. Don't stress too much about it—everyone does it, even after years of experience!
It's definitely okay to reference code, especially when you're not using it all the time. But to improve, try looking back at your own old code instead of always copying new examples. Just start writing your own projects and play around a bit. You'll get there!
Two years of React, Node, and PostgreSQL is pretty solid! The fact that you're aware of your reliance on copy-pasting is a great first step. One thing that worked for me was building a small project from scratch. Start with just an empty folder and no templates—just run 'npm init' and go for it. You'll hit roadblocks, but that's part of the learning process. Doing this a few times can really help you transition from needing to look things up constantly to feeling like you know what you're doing!
Awesome advice! I think starting from scratch will really challenge me and help me learn better.

That makes me feel a bit better! It's reassuring to know that it's a common part of learning.