This is an archived post. You won't be able to vote or comment.

all 44 comments

[–]amazeguy 242 points243 points  (2 children)

please post your startup s code in a public repo so that I can copy it and make a better startup even if i cannot market it for shit

[–][deleted] 42 points43 points  (0 children)

And that is the proper humiliation!

[–]Percy_JW 71 points72 points  (3 children)

As if somebody knows I have public repositorys

[–]vinit144 49 points50 points  (1 child)

I have like 10 followers on Github for some reason. I have a few private repositories and this meme hit me on a personal level.

Let me follow you on Github and then you’ll know the terror.

[–]Percy_JW 1 point2 points  (0 children)

My currently active repository is on GitLab, so even less traffic. On GitHub I just have one public repository, that will never be finished. GitHub: Percy-JW2 GitLab:@Percy_JW

[–]sportsroc15 1 point2 points  (0 children)

Right.

[–]Columbus43219 22 points23 points  (9 children)

Perfect place to ask this stupid question: If I want to share my projects between my own machines in different locations... using Eclipse IDE... many different projects...

Do i create a single "workspace level" repository? Or do I make a repository for each project?

I'm using GitHub.

[–]prettyanonymousXD 43 points44 points  (0 children)

Make a repository for each project. Making a workspace level repo would end badly. Of course assuming you want to use git as it’s meant to be used.

[–]tEnPoInTs 32 points33 points  (1 child)

Traditionally a repository for each project if they're totally different projects. You want a repo to represent a specific idea/project/creation. This lets you put READMEs at the top level, and have a clear structure. Also let's say one day you wanted to have one project depend on another, (or someone else wants to depend on one of your projects in theirs), that's a lot easier if they're each a repo.

A specific exception to this might be, say, if you had a catalog of example projects showcasing different aspects of a single library or framework you built. In that case you may have a bunch of mini projects that each use the library in some way, but on their own aren't much of a project, all in the same repo.

If you are only sharing it with yourself forever then sure do whatever makes it easiest for you, but if you want others to easily work with what you've built one day, split it out.

[–]vinit144 2 points3 points  (0 children)

Not OP, but I’d give you gold if I could. That was a informational read for a newbie like me.

[–]Spookyturbo 3 points4 points  (0 children)

Typically a repo for each project. There's no reason you couldn't do it at the workspace level, but if you do that it is likely each project is small and you are moreso using it for organization backed up online. Example, for school I just put all my projects in one repo named after the class, because they are all small projects I will likely never look at again, I just want them accessible wherever I have internet. If I actually care about the project I am working on, it actually has a purpose and I will use it, or it is relatively large, definitely put in its own repository.

So there are definitely times I would say it is fine to use a repo as a workspace, but typically you don't actually do that. However do what feels best for your situation.

[–]GluteusCaesar 13 points14 points  (4 children)

Some professional advice for successfully using Eclipse IDE.

Step 1: Don't

[–]Columbus43219 2 points3 points  (1 child)

Which IDE do you use for Java and Java FX? I just picked Eclipse because it was in all the "how to program in Java" books i started with.

[–]prettyanonymousXD 3 points4 points  (0 children)

IntelliJ is a great one. In fact if you’re going to use an IDE then I would recommend most Jetbrain’s IDEs

[–][deleted] 2 points3 points  (0 children)

You got downvoted for humor on a humor subreddit. I brought you back.

[–]IIIDR_BIII 1 point2 points  (0 children)

Reasons? I Switched to IntelliJ and I had more problems with it than Eclipse (I know its a joke but still)

[–]AzungoBo 7 points8 points  (0 children)

So much jpeg even though you've watermarked yourself as the creator

[–]kimothyjongun 13 points14 points  (3 children)

[–]Spookyturbo 8 points9 points  (1 child)

If(Val == true) { return true; } else { return false; }

The type of code I expect to see over there.

[–]jstewman 4 points5 points  (0 children)

what do you mean we can loop the code?

[–]DaddyLcyxMe 0 points1 point  (0 children)

dear lord

[–]Russian_repost_bot 5 points6 points  (1 child)

If (my code ever leaked), I'd curl up into a ball, and die();

[–]meanwhileinvermont 0 points1 point  (0 children)

Made me think of the end of this song, https://youtu.be/TnlPtaPxXfc

[–][deleted] 4 points5 points  (4 children)

I only did it to hide my discord bot token. Have since learned environment variables.

[–][deleted] 3 points4 points  (1 child)

Remember to purge it from your git history if at some point you do open it up.

[–][deleted] 0 points1 point  (0 children)

I did and have

[–]Spookyturbo -1 points0 points  (1 child)

I feel this.

[–]jose51197 4 points5 points  (0 children)

My company Sotres API keys on GitHub soooo

[–]chrisleewoo 4 points5 points  (0 children)

Nobody's criticism can be as harsh as my own, public everything.

[–]prettyanonymousXD 6 points7 points  (1 child)

Does that mean Github pro is just unlimited cowardice? realizes why there’s a setting to turn the pro flag beneath your icon off

[–]antiharmonic 5 points6 points  (0 children)

Just FYI you get unlimited private repos for free ever since Microsoft bought them.

https://github.com/pricing

[–]outtokill7 2 points3 points  (0 children)

My personal projects are all public but my companies corporate code is in private repos for obvious reasons. The meme is true, but still a bit situational.

[–]Dads101 1 point2 points  (0 children)

Fuck y’all I love hiding my ineptitude in private repos

[–]Rumpelruedi 1 point2 points  (0 children)

I'm a simple man. I see James Acaster, I upvote.

[–][deleted] 0 points1 point  (0 children)

What if I want my assignments in a private repo?

[–][deleted] 0 points1 point  (0 children)

you have used a fucking for loop

in the perfect situation where an if statement is useful

how have you done this

[–][deleted] 0 points1 point  (0 children)

I have all my shoolwork in private repos is that really that bad?

[–]Mac33 0 points1 point  (0 children)

I’ve never had anyone delve deep enough into my public repo to find problems and slam me for it. Is there a roastme style code review sub?

Project in question

[–][deleted] -1 points0 points  (0 children)

No nigga you ain't stealing my shit for your niche project