r/learnprogramming • • Mar 28 '21

Wow github is actually pretty addicting

I recently made a github to see what all the fuss was about, I also installed WSL and got used to git. I pushed one project onto github and it just felt so satisfying that I went through all my past projects, cleaned them up, and added them. It makes me want to learn more languages and create more ambitious projects just so I can push them and so I can stare at all my repositories lmao.

2.3k Upvotes

139 comments sorted by

View all comments

541

u/Froyo-Stock Mar 28 '21

Welcome to to dark side lmao It gets more addicting the more u push. The sense of accomplishment is a great drug.

34

u/HyperspaceCatnip Mar 28 '21

I also get a little stab of fear from people being able to judge my code!

79

u/flavius-as Mar 28 '21

In reality, noone will look at your code.

If they do, consider yourself lucky.

If they also say something, as in they open issues or make pull requests, then skip the negative part and turn in into an advantage, by extracting the problem and focusing on a solution.

It's a great exercise for personal and professional growth.

12

u/HyperspaceCatnip Mar 28 '21

Of course - I was thinking of it as more of just a vague, existential fear, it's not really rational ;)

A few of the projects I have posted on github have at at least tens of watchers/stars/forks in total, but nobody's ever actually been mean. I think only once someone submitted a PR even!

7

u/jantari Mar 28 '21

You can see what people looked at under "Traffic" in the repository insights.

I'm surprised how few people look into actual source code, mostly landing page and a few issues and releases enjoyers

0

u/[deleted] Mar 28 '21

[deleted]

1

u/jantari Mar 28 '21

It might be you cloning from different devices / IPs.

Other than that I'm not sure, I've certainly seen spikes in clones immediately after a push, I think it's people who set up an auto-pull / sync

17

u/GustavoChiapponi Mar 28 '21

I am pretty proud of my for loop console logging "Hello world", waiting for Google to call me for a 120k job position

Jokes aside, I feel anxious too about that, so I make my repos private. It's kind of a useful tool to backup code! Expecially if you tend to fuck up your os installation every now and then like me lol

7

u/jantari Mar 28 '21

Noe that private repos are free make sure to upload your resume and CV to github. Can always update it and you can add a Github action to compile it into a PDF artifact on every push

Source: what i do

6

u/brie_de_maupassant Mar 28 '21

You can also use branches in case you have alternate timelines in your career.

1

u/HyperspaceCatnip Mar 28 '21

Oh yeah, private repos are definitely a solution (I have a private gitlab instance running on a home server for that).

But that doesn't give you the addictive push side of it ;)

I mostly post stuff publicly that I think people might actually find useful, even if I don't then advertise it in any way (often as I'm not finished yet), but there is definitely a thrill to sharing regardless.

4

u/kaukamieli Mar 28 '21

You can have private repositories.