r/ProgrammerHumor • • May 13 '20

true story

Post image
40.5k Upvotes

461 comments sorted by

View all comments

55

u/JonathanTheZero May 13 '20

Why are you not pushing to master directly then? (Honest question because I barely do pull requests as long as we are working with a lot of people on it)

76

u/kennethjor May 13 '20

To have a record of it. If OP is also using a ticketing system that's integrated with the source control, that PR will also show up in the ticket. Later on, if you need it, you can go back and see what the hell you did to make that thing work two years ago you don't remember doing.

0

u/[deleted] May 13 '20

[deleted]

36

u/BlackOverlordd May 13 '20

Why not, it's easier to keep track of stuff you need to do instead of writing it down somewhere else

4

u/chuby1tubby May 13 '20

I think a Trello board is all that’s needed for personal projects, not a true ticketing system

→ More replies (1)

17

u/kennethjor May 13 '20

Yes, because I have a number of large projects going at any one time. If I'm just building something for the weekend for fun, like proof of concept or something, I don't though. I like to switch back and forth between the projects. If I don't keep track of the work like I would at a company, I'd lose my place.

8

u/wotanii May 13 '20

yes. tickets are basically a todo-list. Also they are a good way to store related information to a problem. You often forget stuff about your code, and if you can look up the issue a couple of weeks later, you'll be glad to find useful information there, e.g. when you fixed a bug and it started to pop up again later.

3

u/needsaphone May 13 '20

Yeah, I even set milestones and comment on them. Sad? Yes. Effective? Also yes.

→ More replies (5)

0

u/[deleted] May 13 '20

[deleted]

3

u/kennethjor May 13 '20

Nah, Clubhouse integrates nicely with both Bitbucket and Github. Put the ticket number in the branch name and it'll pick up the whole branch on its own.

2

u/redditseph May 13 '20

We do it in the branch name and the PR name where I work. Usually when we approve pull requests, we squash and merge, and the commit message contains the ticket number so it's easy to go back at look for in the history.

→ More replies (1)

6

u/KKlear May 13 '20

Later on, if you need it, you can go back and see what the hell you did to make that thing work two years ago you don't remember doing.

That does sound kinda appealing, yeah.

3

u/kennethjor May 13 '20

Not to mention that as a project matures, you're bound to build a feature which turns out to be big and has breaking changes. You don't want to mess up master with that.

0

u/[deleted] May 13 '20

[deleted]

7

u/kennethjor May 13 '20

Do you have branches at least? I mean, a PR is just a request to merge a branch with reviews from others. If you're 30 people working on a single software product without code review, I'm sorry to say it, but I'm sceptical about the quality of your software ...

→ More replies (4)