I'm a beginner programmer currently working through the book "The C Programming Language" by Kernighan and Ritchie. I'm considering whether it's a good idea to create a GitHub repository for documenting my solutions to the exercise questions. Also, how can I make the best use of this for my portfolio? Would having just exercises in my portfolio really matter, or would it end up as just boilerplate code that no one looks at?
3 Answers
While I support using Git and GitHub for tracking your progress, I think the exercises in K&R are too simple to warrant saving as files. They're valuable for practice, but not worth sharing or storing long-term. Focus instead on building actual projects for your GitHub—leave the exercises to just that—practice!
Starting a repo with a solid commit strategy is a great idea! It's important to save your progress, even if some parts of it feel trivial now. Creating private repos for your early exercises can work well—just make sure to back up everything. GitHub is a huge resource for developers, and getting familiar with it now will be beneficial in the long run.
I had a similar experience! I used to keep repos for exercises I completed, thinking they'd help me later. But honestly, I rarely went back to review them. For your portfolio, it's better to focus on larger projects like applications or libraries that showcase what you've built rather than just a bunch of exercises. Try to create a project that evolves as you learn—add features based on new concepts you pick up along the way. This way, you'll have a meaningful portfolio piece that reflects your growth.

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