How do you use GitHub?

Ben Lovy - Nov 16 '18 - - Dev Community

My GitHub profile is full of crap. I've noticed this is not actually the case with a lot of profiles I snoop.

Am I doing it wrong?

I regularly use my home desktop computer, my crappy laptop, and my employer-assigned workstation to hack on the same code. I use GitHub constantly - pretty much every scrap of code I write will end up there because it's convenient to not have to think about where the project is stored. It's also nice to know I can pretty much fearlessly wipe my HD - my projects and dotfiles are safe and sound.

I also like the little bit of gamification - it's good motivation to keep my commit streak up because otherwise I'm stuck remembering how useless I was that one gray day for a whole year. This habit leads to a pretty solid-looking commit grid, but a lot of the code is throwaway quality, or experiments that I wanted to continue at home after leaving work, projects I don't intend to finish, things like that. It's definitely not all portfolio material.

A lot of folks seem to only put polished code up, code they'd want to show others or for which they are actively soliciting contributions.

Where do you stand on publishing unpolished code? Yes, I'm airing my dirty laundry to some extent, but it's not like I have any shame - and do people really go and sift through old crap on other people's
profiles? Does it reflect poorly on my habits?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .