r/learnprogramming • • Mar 10 '21

Advice My professor recommends us making a GitHub account as soon as possible. Why should I?

It's an honest question. His reasoning was like "in a couple of years, when you graduate and look for a job, you'll be able to show them that you used github for the past couple of years" and I get that. But right now I'm making programs that are too simple and that are introductory. Like create an array, print only the odd numbers from an array, write Hello world in a .txt file. Scan a .txt and count the occurences of a given word, etc.

I don't know about github but it seems that that's not "worthy" of uploading. Don't get me wrong I'm not embarrased but is it a good strategy that my employer 3 years from now sees that I struggled with / learned opening files only 3 years ago?

Is there something I'm missing?

Edit: Thanks for all the answers! I realized now that there is a private and public mode for github so I'm cool with that. See you on github!

1.7k Upvotes

314 comments sorted by

View all comments

Show parent comments

8

u/jkettmann Mar 10 '21

There are some differences if you go deeper. But the general workflow is the same whether you're on GitHub, GitLab, or BitBucket. You typically work with branches, pull requests (called merge requests on GitLab), and code reviews. If you need to learn how to use Git in a team check out this. It may be exactly what you need once you know the very basics

2

u/MerviElina Mar 10 '21

Thank you! The guide is exactly what I need because nobody has time to teach me. Currently, I think I just need to familiarize myself with the basics.