As a fresh graduate, I've been trying to improve my programming skills through reading books and watching videos while coding along in my IDE. However, this method doesn't seem very effective for me. My mentor suggested that I should write more code and review great code examples. I'm wondering, how can I find high-quality code to review? What kind of code should I be writing? Is it okay to use my company's existing code for this?
5 Answers
You're spot on—just watching videos won’t make you a programmer. It’s like trying to become a better dancer by just watching dance videos. The key is practice! Dive into hands-on projects, find a real problem you want to solve, and build software around it. Also, check out coding challenge websites. They can be super helpful in sharpening your skills.
Start by working on smaller projects to grasp the programming concepts. Don’t try to tackle all languages at once. If you can understand the logic behind programming, picking up new languages will become much easier. It's more about the concepts than the language itself.
Consider creating an application that requires data storage, like a notes app. You can store information in JSON format and work on reading/writing it. Use tools provided by the OS to help you develop your software, like handling input/output streams, or even creating a simple GUI. Experimenting with these aspects will greatly enhance your understanding.
I've faced similar challenges at the beginning. While reading and watching tutorials helps a bit, I found my skills really improved when I started building small projects and even broke things on purpose to learn from the mistakes. For finding great code, check out open-source repositories, but don’t overwhelm yourself with massive projects. Smaller libraries or even discussions in pull requests can offer valuable insights. If you can review your company's code, that’s great too! Understanding the reasoning behind decisions made in the code can be incredibly beneficial. Rewriting simple tasks in different ways can also be more insightful than just following tutorials.
Getting a job, even if it’s entry-level, is an excellent way to improve. While I can't promise all the code you'll see is top-notch, you will have plenty of opportunities to review, fix, and understand how things work. Plus, if you find yourself working alongside skilled developers, you'll learn a ton just by observing how they approach coding challenges.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically