MHN

Ask HN: How do you get over the fear of sharing code?

75 points by sodokuwizard·385 days ago·Show in HN

I'm a junior. Truth be told, I don't really care if professionals/adults see my code or pick it apart/mock it/fork it or whatever. All my repos are private just because I worry about other students being lazy and just ripping my hard work and claiming it as their own. That really pisses me off when I hear some horror stories like that.

Is this unfounded? Or do I have a right for some concern? It's obviously easier for viewers to just see public code repos and browse without ever requesting access so I know I'm losing some traffic (from my portfolio site)

I was thinking the alternative would be just linking my demo on my portfolio site as a proof of concept that yes I made it, yes it works, and if you're curious , here's a link to the code u can request independently of github.

Thank you in advance.

Add a comment on Hacker News →
1 of 91 comments
  1. The others students will get code from chatgpt way faster than from your code.

    If you are afraid that people will think this code is not yours, sign your commits, it's unlikely they will take the time to clone your repo and remake it with new signatures.

    But honestly, if it's such a source of stress for you, don't share it. It's ok to not share code. There is no rules that say you have to.

    Just because most of us are into FOSS and open source doesn't mean we will less of you if you are not.