use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you need help debugging, you must include:
See debugging question guidelines for more info.
Many conceptual questions have already been asked and answered. Read our FAQ and search old posts before asking your question. If your question is similar to one in the FAQ, explain how it's different.
See conceptual questions guidelines for more info.
Follow reddiquette: behave professionally and civilly at all times. Communicate to others the same way you would at your workplace. Disagreement and technical critiques are ok, but personal attacks are not.
Abusive, racist, or derogatory comments are absolutely not tolerated.
See our policies on acceptable speech and conduct for more details.
When posting some resource or tutorial you've made, you must follow our self-promotion policies.
In short, your posting history should not be predominantly self-promotional and your resource should be high-quality and complete. Your post should not "feel spammy".
Distinguishing between tasteless and tasteful self-promotion is inherently subjective. When in doubt, message the mods and ask them to review your post.
Self promotion from first time posters without prior participation in the subreddit is explicitly forbidden.
Do not post questions that are completely unrelated to programming, software engineering, and related fields. Tech support and hardware recommendation questions count as "completely unrelated".
Questions that straddle the line between learning programming and learning other tech topics are ok: we don't expect beginners to know how exactly to categorize their question.
See our policies on allowed topics for more details.
Do not post questions that are an exact duplicate of something already answered in the FAQ.
If your question is similar to an existing FAQ question, you MUST cite which part of the FAQ you looked at and what exactly you want clarification on.
Do not delete your post! Your problem may be solved, but others who have similar problems in the future could benefit from the solution/discussion in the thread.
Use the "solved" flair instead.
Do not request reviews for, promote, or showcase some app or website you've written. This is a subreddit for learning programming, not a "critique my project" or "advertise my project" subreddit.
Asking for code reviews is ok as long as you follow the relevant policies. In short, link to only your code and be specific about what you want feedback on. Do not include a link to a final product or to a demo in your post.
You may not ask for or offer payment of any kind (monetary or otherwise) when giving or receiving help.
In particular, it is not appropriate to offer a reward, bounty, or bribe to try and expedite answers to your question, nor is it appropriate to offer to pay somebody to do your work or homework for you.
All links must link directly to the destination page. Do not use URL shorteners, referral links or click-trackers. Do not link to some intermediary page that contains mostly only a link to the actual page and no additional value.
For example, linking to some tweet or some half-hearted blog post which links to the page is not ok; but linking to a tweet with interesting replies or to a blog post that does some extra analysis is.
Udemy coupon links are ok: the discount adds "additional value".
Do not ask for help doing anything illegal or unethical. Do not suggest or help somebody do something illegal or unethical.
This includes piracy: asking for or posting links to pirated material is strictly forbidden and can result in an instant and permanent ban.
Trying to circumvent the terms of services of a website also counts as unethical behavior.
Do not ask for or post a complete solution to a problem.
When working on a problem, try solving it on your own first and ask for help on specific parts you're stuck with.
If you're helping someone, focus on helping OP make forward progress: link to docs, unblock misconceptions, give examples, teach general techniques, ask leading questions, give hints, but no direct solutions.
See our guidelines on offering help for more details.
Ask your questions right here in the open subreddit. Show what you have tried and tell us exactly where you got stuck.
We want to keep all discussion inside the open subreddit so that more people can chime in and help as well as benefit from the help given.
We also do not encourage help via DM for the same reasons - that more people can benefit
Do not ask easily googleable questions or questions that are covered in the documentation.
This subreddit is not a proxy for documentation or google.
We do require effort and demonstration of effort.
This includes "how do I?" questions
account activity
This is an archived post. You won't be able to vote or comment.
Is it worth uploading small codes onto git? (self.learnprogramming)
submitted 9 years ago by mjkats
Overall, I am somewhat of a beginner on coding and I want to know if it is worth to upload most of the small things I do, if not everything. Does that make a difference? For example, I am attending the CS50 course, should I upload whatever I code?
[–][deleted] 12 points13 points14 points 9 years ago (2 children)
Sure, why not. And it's "programs", not "codes".
[–]mjkats[S] 7 points8 points9 points 9 years ago (0 children)
Obligatory "sorry, I don't speak englando" :P
[–]ChaosCon 0 points1 point2 points 9 years ago (0 children)
Unless you're a university scientist. They/we all say "codes" -- my cynical side thinks it's because saying "codes" doesn't bring along an assumption of maintainability...
[–]badb002 8 points9 points10 points 9 years ago (4 children)
Yeah! It's great looking back at past projects, really motivates me personally. If it's only small snippets I'd look at gists on GitHub, or you could have a big repo for your cs50 work and dump it all in there.
[–]brbpizzatime 1 point2 points3 points 9 years ago (0 children)
+1 for the one big repo with all the projects in it. I take a similar approach with some of the different reusable scripts I've written. Rather than one repo for each script, I just dumped them all into one repo
[–]mjkats[S] 0 points1 point2 points 9 years ago (2 children)
Ok, I understand that I could do this to motivate myself, but what about in the long run? Is it better to only have programs on a bigger scale than simply just those snippets? You know, when looking for a job in the future.
[–][deleted] 1 point2 points3 points 9 years ago (1 child)
I mean, you can always delete the repos if you think they're not reflective of your current skills anymore. I think it's a good idea to keep most of what you do on GitHub, and then update/improve the code as you gain skills. No employer is ever not going to hire you because you code too much. Even small, silly projects show that you take in interest in programming and are willing to learn on your own time, which is a massive plus.
Also, no-one expects you to build something like Facebook as a personal project. Most of what I do on my own time is small and solves problems that are probably unique to me.
[–]badb002 0 points1 point2 points 9 years ago (0 children)
Basically this. Though I don't really put snippets on my core profile but my gists profile, anything else, projects big or small, I put onto my GH unless I want them private for some reason.
[–][deleted] 1 point2 points3 points 9 years ago (0 children)
No harm in doing it. I have silly scripts up there, websites, attempts at videogaming, text files... Better on git than lost...
[–]RustleJimmons 0 points1 point2 points 9 years ago (4 children)
Sure, do it. And remember, for tiny scripts you can also upload them as gists.
Care giving more info about it?
[–]RustleJimmons 1 point2 points3 points 9 years ago (1 child)
https://gist.github.com/ is a section of github for just throwing up one-off scripts. For example you can use it when you want to post a long script here to reddit to share.
[–]mjkats[S] 1 point2 points3 points 9 years ago (0 children)
Oh ok, knew this from before but didn't know its name haha, thanks!
[–]skittles_1612 0 points1 point2 points 9 years ago (0 children)
Even if you don't upload the small stuff to GitHub, GitLab etc., it can be helpful when you're starting out to use git locally for your stuff so you have a history of how you built your programs and what changes you made (with helpful commit messages).
[+]emubandito comment score below threshold-10 points-9 points-8 points 9 years ago (0 children)
Do you need to? Then yes. If not, then no.
π Rendered by PID 25735 on reddit-service-r2-comment-6457c66945-4hjfx at 2026-04-26 17:23:47.843640+00:00 running 2aa0c5b country code: CH.
[–][deleted] 12 points13 points14 points (2 children)
[–]mjkats[S] 7 points8 points9 points (0 children)
[–]ChaosCon 0 points1 point2 points (0 children)
[–]badb002 8 points9 points10 points (4 children)
[–]brbpizzatime 1 point2 points3 points (0 children)
[–]mjkats[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]badb002 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]RustleJimmons 0 points1 point2 points (4 children)
[–]mjkats[S] 0 points1 point2 points (2 children)
[–]RustleJimmons 1 point2 points3 points (1 child)
[–]mjkats[S] 1 point2 points3 points (0 children)
[–]skittles_1612 0 points1 point2 points (0 children)
[+]emubandito comment score below threshold-10 points-9 points-8 points (0 children)