Is It Okay to Learn by Following Others' Solutions in Coding?
Asked by
3v3_ref
I've been learning to code for about a month and a half. When I work on exercises, I usually come up with my own solutions, even if they aren't the most efficient. Afterward, I often check out other people's answers or ask an AI for help. I'm wondering if this approach is a bad idea and if I should focus more on figuring things out by myself. Sometimes, no matter how much I try to come up with a better solution, nothing really comes to mind. What do you think?
Answers
Remember, a functional solution is better than a perfect one at the beginning. After you've built a foundational solution, revisit it and refine it over time. Keep at it, you'll notice improvements in your coding style as you progress!
Reply to this answer
Any solution that meets the requirements is valid! Itโs about progressive learning. Checking out how others solve similar problems can introduce you to new ideas and methods you werenโt aware of. Just keep practicing and refining your approach!
Reply to this answer
It's totally fine to check out other approaches after you've solved the problem your way. This can really help you improve your skills! The key thing is to make sure you understand why those alternative solutions are better, rather than just copying them. Keep experimenting, and donโt hesitate to use what others have done to learn from it!
Reply to this answer
You're definitely not alone in this! Most people learn by looking at how others tackle similar problems. Just make sure you donโt just copy-paste; instead, try to rewrite their solutions from scratch. Thatโs where the real growth happens. You'll start to see improvements in your own work as you grasp those concepts better.
Reply to this answer
When you notice a more elegant solution, it can be beneficial to think of reasons to adopt that method instead of simply using it. Try to grasp the differences; itโll help solidify your understanding! You might not know about simpler methods yet, which is why looking at others is so valuable.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions