this post was submitted on 23 Jun 2023
1 points (100.0% liked)

Programming

17314 readers
69 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

I've been working in programming for a few years and I think I really dislike Pair Programming; I understand how it is but I often find it mind-numbingly dull. I have a feeling I'm doing it wrong but I feel like as a part of a dev team tasks should be broken into discrete enough chunks that a single person can just blitz through the work... Maybe it's just me, what are y'all thoughts on the matter?

top 4 comments
sorted by: hot top controversial new old
[–] silverbax@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

If you have two devs pair programming, at least one of them is being slowed tremendously. It should be used very sparingly and only in junior/senior mentoring attempts. Putting two senior devs on pair programming is nearly always just slashing your dev productivity.

I've seen devs take 3 days to write code in pair programming that either one could've completed on their own in 4 hours or so.

[–] r0bbbo@programming.dev 1 points 1 year ago* (last edited 1 year ago)

Not at all. I find it useful for certain tasks, but I'm a huge introvert and spending a long period of time with someone physically exhausts me to the point where I can't muster coherent speech or thought. Depending on the depth of thinking required too, it's often better for me to do that individually then bring my findings to someone else to validate.

[–] wccrawford@sh.itjust.works 0 points 1 year ago (1 children)

I hate it. I really enjoy programming, and don't enjoy social niceties. And I definitely don't enjoy someone looking over my shoulder all the time.

So that leads to 2 situations: I'm programming, but someone is looking over my shoulder and stopping me constantly (or doing nothing), or I'm watching someone else program and constantly frustrated that it's not me.

Even during an emergency I'm often better off just doing my thing solo, and the other person using their own methods to investigate and fix the problem. Chat is still available to share information and progress without it being a constant annoyance.

The only thing I think it's really good for is learning to program, and unless the people are the same level, it's probably only good for 1 of them.

[–] BlueBockser@programming.dev -1 points 1 year ago

One person doing the coding and the other just watching or doing nothing doesn't sound like pair programming to me. That's just working alone with someone else in the room, of course it's not enjoyable.

Pair programming requires a fitting task and some basic rules, most importantly that the person at the keyboard doesn't just type as they please without consulting the other person - otherwise they'll quickly be programming alone.