Should I Document My Programming Exercises on GitHub?

0
16
Asked By CuriousCoder23 On

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

Answered By TechyTom On

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!

Answered By CodeCrafter99 On

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.

Answered By DevDude42 On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.