When I was an undergrad I would post all my homework assignments on Github, but I later learned this was a mistake when I interviewed at Apple and a few of their engineers went over my homework code with a fine tooth comb and found a memory leak in one of my OS assignments. Reporting this to me, they asked me "why did you code this memory leak?". I didn't get the job. Now I have removed all this from my github. Unfortunately it's one of those things where "everything you say can and will be used against you".
> Unfortunately it's one of those things where "everything you say can and will be used against you".
Indeed.
It kinda takes the fun out of programming. Sometimes you just don't bother with error-checking and with making code production-grade, because you just wanted to publish this small thing that other people might find useful. If people find it useful but find bugs, they might as well send pull-requests.
And let's be honest: error checking is important and everything but it's quite a chore.
Often in your toy project it's okay to be optimistic.
And often the purpose for writing a project is to explore a topic, not to release a production grade project.
FWIW, I think that's terrible interviewing on their part.
Literally looking for their wallet under the lamp post because it's easy to pick nits in your homework assignments, but difficult to determine whether you could be a productive team member today under completely different circumstances with complete different incentives and forces on your choices.
How do you know that was the reason you didn't get the job? It sounds like they gave you an opportunity to say you made a mistake, and maybe figure out how you'd fix it.
Haven't been to Apple but that sounds extremely unlucky for you - can't imagine 99% of Apple engineers wanting to spend their time reading random github repositories made by a candidate they aren't even going to approve.
I still think this post is insightful, because it shows a subjective and presumably rather honest perspective on reviewing CVs. Sure, it's no big deal that a recent graduate points to an unmaintained GitHub profile with only assignment code on it. But these applicants make whoever is considering hiring them look at something that's both irrelevant and boring. I wouldn't blame them too much, though. They've probably heard somewhere that you should have code on GitHub and link to your GitHub account in your CV, and they lack the experience to take this advise with a grain of salt.
It reads a little like the last time he was hiring having a github profile at all was a differentiator. Nowadays almost every applicant has a profile but it's just full of forks and unfinished learn to code projects.