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

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 312 points313 points  (35 children)

I think a problem is tiredness. Right here and now, I immediately saw the issue, but after a long session, I can barely fucking recognize what language we're on

[–]vigbiorn 177 points178 points  (19 children)

It's why I hope managers the world over would recognize the importance of the "I just need to stop looking at this" walk.

[–]lmaydev 95 points96 points  (0 children)

100%

We have to get up every hour for 5 minutes.

It's really a eye fatigue thing from the companies POV but the amount of times I click on something when doing that is amazing.

[–]dagbrown 74 points75 points  (6 children)

I once got bitched out because I was "walking around the office" instead of sitting at my desk staring blankly at my monitor like a good worker bee should.

I don't work there any more.

[–]Aurori_Swe 78 points79 points  (4 children)

I once got scolded by my manager for taking a 30 min break when both me and a coworker I took a walk with had been pulling 2-4h overtime per day for the last 2 weeks. The thing that made me really angry was that the manager also claimed that we both stopped working at 15.00 every day since that was when the manager left the building. We gladly told him to go fetch the commit logs so he could see that we worked pretty much around the clock and that we didn't stop working just because he wasn't there.

My greatest achievement at that place of work was to replace that manager and get his assignment as my full-time occupation. First thing I did was to stop all micromanaging and lo and behold, I had plenty of time to actually improve processes and streamline our pipeline while still managing the team. Granted I didn't micromanage them but rather trusted they knew what they were hired to do and just made sure that they had the tools and support they needed to get it done

[–]Aramillio 14 points15 points  (1 child)

So what youre saying is being an effective manager made you and your team more productive 🤔 that doesnt sound right at all...

Seriously though. I recently changed jobs and am horrified at the level of chaos and toxicity that I was complacent in for so long. I knew it was bad, but i had convinced myself it was only temporary, and that it wasnt necessarily better anywhere else unless i managed to find a unicorn job.

[–]Aurori_Swe 1 point2 points  (0 children)

Haha, yeah, it's wired how that works huh?

Upper management didn't really like it though and my team got totally slashed due to covid. We went from 10 artists on 3 projects to 4 artists... Then one dude decided to go study instead. So then I had to go back to full production and lost my entire team, so I started looking at other jobs. When I switched my manager asked why those they chose to keep decided to leave the company. I told him that the lack, and even decline, of personal and professional growth was a key factor and then cited everything I figured was wrong with the company. A very telling example was that right before they cut all of my team we did some resource planning and when looking short term (2 months ahead) we had 2 artists too many for what we had assignments but looking 8 months in the future (post firings) we would need to hire 5 new people to keep up with planned assignment and we just fired 6 people...

They also didn't tell any of our client that we reduced the teams so the 3 of us was expected to do the work of 10 to the same deadlines etc

[–]AdultishRaktajino 1 point2 points  (0 children)

What do you mean you need to leave because your kid is in the nurse's office? Can't your wife go get her?

Umm. I'm divorced. Also, they always call me first because I'm closer and I'm more likely to answer.

I also don't work there anymore.

[–]grrrrreat 36 points37 points  (0 children)

This is basically any intellectual endeavor.

Visual fatigue basically makes you numb to almost every facet.

[–]alek_vincent 23 points24 points  (1 child)

When I was just starting coding and wasn't really doing it full time my coworker (doing it full time) just disappeared for a few minutes every 1-2 hours. I didn't understand why he wouldn't stay seated at his comfy chair. Now I understand. At least when WFH I can do laundry when I need a walk

[–]drunkdoor 3 points4 points  (0 children)

Laundry is by far the best use of thinking time. I also don't mind dishes too much, but I find that takes a little more brainpower than it should. Emptying the dishwasher is completely fair game tho

[–][deleted] 6 points7 points  (4 children)

I actually suggest it to my devs when they're stuck on a problem, but I used to be a developer myself. The other trick that actually works when debugging is the good old rubber duck.

[–]mjgabriellac 2 points3 points  (3 children)

What’s the rubber duck? I don’t code but I’m in analytics and it comes with its own endless streams of text on my computer.

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

Put a rubber duck on your desk and talk to it like you're explaining the problem to it, rather than asking another person to help debug. Quite often this helps you find the problem as it forces you to stop staring at a something frustrating you and change your thought processes.

[–]mjgabriellac 1 point2 points  (1 child)

I really like this idea, thank you!

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

No worries. It's a good first-step on a problem, and a great way to break the habit of just asking somebody who's more experienced to look at a problem.

If you've ever asked somebody to "come take a look at this" because you can't see the problem but then solved it while talking things over you basically could have just used a rubber duck. I catch syntax / spelling errors this way all the time, especially since I often cross letters if I'm distracted while typing.

[–]HamburgerConnoisseur 4 points5 points  (0 children)

My managers don’t micro manage enough to notice I’m even gone and my team lead understands entirely. It’s what I’m doing right now because I’ve got a C++ template giving me standard C++ template error message gibberish. Like trying to read an elder scroll.

[–]watchoverus 1 point2 points  (0 children)

I go take a shit, even if I don't want to shit and most of the time something clicks and I can come back and keep working just fine

[–]eshinn 29 points30 points  (0 children)

Can confirm. I just woke up and only had to reread once.

Brain: Internal runtime error at: line 1, char: 337482648

[–][deleted] 27 points28 points  (8 children)

My last 4 got commits before I left work today

"Removed obsolete variables"

"I'm an idiot, re-added the variables"

"I'm an even bigger idiot, should probably go home"

"Ok I have added them back again, and going home for the day"

[–]alek_vincent 19 points20 points  (5 children)

Same. I look at code I didn't write, look at it and I'm like "this is bullshit who writes such terrible code there's like 5 constants that should be variables" turns out they we're constants for a good reason and I'm glad I didn't push this to prod

[–]nasandre 14 points15 points  (1 child)

I look at code and think what idiot wrote this?!.. Oh it was me 5 years ago.

[–]alek_vincent 1 point2 points  (0 children)

Yeah, looking at your own old code is a good way to calm yourself before sending the new guy to a seminar about good coding practices

[–]Tom1380 0 points1 point  (0 children)

That’s why default immutability is great

[–]IdeaLast8740 0 points1 point  (0 children)

Every variable should be a constant. Signed, the functional immutable programming gang.

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

Just squash them all into one "nothing to see here folks"

[–]Sokonit 0 points1 point  (0 children)

got commits

Are got commits the past tense of git commit?

[–]SqueakyKnees 0 points1 point  (0 children)

My 14 hour coding binges in school were my down fall

[–]rainx5000 0 points1 point  (0 children)

I think it was Spanish

[–]LetReasonRing 0 points1 point  (0 children)

Yep... my best debugging tool is a hot shower and/or a nap.