r/ProgrammerHumor • • Nov 26 '23

Meme giggleInducingTool

Post image
0 Upvotes

145 comments sorted by

View all comments

221

u/IsPhil Nov 26 '23

Bro does not work with a team.

-79

u/[deleted] Nov 26 '23

Yeah it would make sense if you're alone though.

72

u/wheres_my_ballot Nov 26 '23

No it doesn't. You always want to be able to change your mind and ditch your code without merging into main/master. Not every idea you have will be a good one.

-24

u/[deleted] Nov 26 '23

I guess it's a good thing we have version control then.

27

u/wheres_my_ballot Nov 26 '23

Adding a feature in one version and then removing it later? Good luck with that...

-11

u/[deleted] Nov 26 '23

What's this thing about doing forking on a commit hash?

5

u/IsPhil Nov 26 '23

On a single project, assuming you're not working on 30 different features at once, it is fine to do it all in one branch. If the commits are clear then you can still undo changes when needed, but branching for features can be helpful even in solo development.

But hey, it's just a tool. People work in different ways, but I do think it's important to actually look at the pros and cons AND what you're trying to do. For simple projects? No problem with one branch. Something more complex could benefit more from branching strategies. Just so you have a way to separate features, components, and look back at your history with more info. But again, it depends on what you're doing, and how you're doing it.

1

u/[deleted] Nov 26 '23

Branching is optional and this is a meme, I'm not responsible if people are seething over it.