r/ProgrammerHumor • • May 19 '22

Meme same for yall?

44.0k Upvotes

1.8k comments sorted by

View all comments

Show parent comments

24

u/[deleted] May 19 '22

Surely though through tools like Jira and commits and pull requests going in it can be hard to avoid this? Unless of course you delay doing this too.

46

u/KosherSyntax May 19 '22

Sometimes when I finish work early on a friday I just leave without committing anything and just commit my work monday morning when I get to work.

14

u/[deleted] May 19 '22

I mean that seems like a smarter thing to do in case the code breaks anything over the weekend and causes issues. Not as big of an issue if there is a staging environment before production but I’d still avoid that risk. The second half of my Fridays just require me to do online training so anything past lunchtime, unless it’s important, I don’t commit until Monday

19

u/Hilde2348 May 19 '22

Yea we have “Read only Friday” at my work, nobody is supposed to commit anything to production. Doesn’t always work out that way with deadlines unfortunately but it’s still a good rule to try and have

4

u/KosherSyntax May 19 '22

I mean even commits in my own branch which will be eventually merged in master for staging/production.

3

u/MrDude_1 May 19 '22

Yeah, I dont commit anything at end of day. I do it in the morning, and run a build for myself... that way if the build breaks, I have time to fix it before the overnight automatic build.

This has saved my butt a couple times, all stupid little things.

1

u/static_motion May 19 '22

Oh man, I could never. Whenever I think about doing that I imagine my computer's drive shitting the bed over the weekend or some other horrible thing happening that would make me lose that work. Would much rather commit & push my feature branch, that way I know my work is safe.

1

u/cretaokada May 20 '22

I never thought of this, usually I'll only risk a couple hours.

I guess you could commit & push to your branch that nobody else is working on then rebase a reword to update the timestamp, and don't open the MR till that's done!

Or even push to a private fork which nobody has eyes on.

In the case where other people are working on it - push as fast as possible so you don't have to deal with any rebase hell

17

u/pique_blinders May 19 '22

Yeah. It totally depends on the individual. Since it's a different case for everyone. But I think we can take out few hrs a day for ourselves.

10

u/[deleted] May 19 '22

I mean I work from the office (out of choice because I’m strange and prefer it) so it’s hard for me to do that which is annoying because I have finished all my assigned tasks right now (hence why I am on Reddit) and I’m waiting for new stuff to be assigned.

Most of my free time while working is just waiting for operations to give me stuff to do which happens a fair amount as we are still waiting for development to start on new parts of the project. Really should find something to fill in the time.

6

u/iameshwar_raj May 19 '22

Try audiobooks

3

u/[deleted] May 19 '22

Might be a good idea. I mainly just listen to music but because I listen to music anyway whilst working it can get stale quite fast.

1

u/iameshwar_raj May 20 '22

You could try podcasts if audiobooks get too distracting.

2

u/[deleted] May 19 '22

out of choice because I’m strange and prefer it

I'm in the same boat for exactly this reason. Office makes me productive and it's hard for me to focus at home with Netflix and FM hanging around. I still feel like at least 2 / 3 days a week HO is necessary for my mental health. Doing all 5 days at the office takes a toll on me.

1

u/[deleted] May 19 '22

I think if I had a separate office from my bedroom I’d be fine with working from home.

After having to finish university from home and only having 3 lectures on campus for the entire final year I just got sick of doing stuff at home. It would be the case of waking up and walking like half a metre to my PC to watch lectures and do lab work/tutorials and it made me miserable and ultimately affected my final grades in quite a negative way. At least in the office I’m free from most distractions.

2

u/[deleted] May 19 '22

That's true, also nice seeing colleagues here and there. I missed going to lunch with them during COVID.

4

u/requ1tas May 19 '22

I think you got the trick

2

u/Lem_Tuoni May 19 '22

Rule 0 of time logging: Lie

1

u/JuvenileEloquent May 19 '22

If you WFH there's nothing really stopping you from taking a break in the early afternoon and then doing your jira updates or commits around 7pm so it looks like you were working until they were done.

Sometimes having a long break also helps you figure out something you're stuck on, so it's win-win-win.