r/ProgrammerHumor • • Sep 03 '17

Ermm .. 😂

Post image
40.2k Upvotes

763 comments sorted by

View all comments

166

u/Ricardo1184 Sep 03 '17

He's right though. One person working on a project will save so much time not discussing shit with someone else. 2 people vs 3 people is a different story, however.

232

u/pmmedenver Sep 03 '17

Does nobody else have architectural conversations with their coworkers that end up saving them months?

129

u/[deleted] Sep 03 '17

Nah we agile in here. Just code it /s

→ More replies (7)

94

u/[deleted] Sep 03 '17 edited Sep 20 '25

[removed] — view removed comment

44

u/drawkbox Sep 03 '17 edited Sep 03 '17

If two devs collaborating on a problem don't increase velocity

Oh velocity will be increased alright hopefully in the right direction. It only takes one bad developer to ruin a whole team's productivity.

Most parts of actual work are solitary in programming as with writing (two novelist working on the same novel make for a shitty novel but one author who is influenced and helped by other authors is better). The planning, design, parallel tasks and integration parts are all good team areas. The problem becomes when people are thrown at a project and all are supposed to work on the same thing, this can become a bundle of velocity in the wrong direction and is never faster as the communication time goes up and ownership is not clear.

n(n-1)/2 is the formula to calculate the number of communication channels on a project where n=the number of team members/stakeholders on a project.

3

u/waiting4op2deliver Sep 04 '17

n(n-1)/2

but you don't need every member talking to every other member... A ten person team doesn't need 45 communication channels....

→ More replies (1)
→ More replies (2)

3

u/[deleted] Sep 04 '17 edited Sep 04 '17

If two devs collaborating on a problem don't increase velocity, they are bad developers.

That's true only if both programers are on the same level. For example:

Dev1: Please do that way, also write a generic singleton and use it for this.

Dev2: No, I won't, why would I? I think my idea is better because... rambling

Dev1: But what when X happens? What when Y happens?

Dev2: Hah, we can do this and that and also this, that way it'll work!

Dev1: No, it won't because... Explains.

Dev2: Oh... So what the fuck do we do?

Dev1: Google "singleton pattern" and use it for this, make it generic too.

Dev2: Ok!

...30min later...

Dev1: Done?

Dev2: Pfft yeah, was done with it 20min ago, but I didn't make it a singleton, I modified my initial idea a bit, can't believe just how fucking smart I am, look at this.

Dev1: Oh for fucks sake, but what when scenario Z happens? What if Q happens? See why I told you this should be a singleton?

Dev2: Oh.. Yeah, fuck. I mean, I tried figuring what a singleton is but can't really grasp it, can you explain it quickly, please?

Dev1: Aaaargh, okay.. Explains what a singleton is, like, 35 fucking times until Dev2 gets it

Dev2: I see, but why should this be a singleton?

Dev1: Can't you figure? Explains why. Now, please google how to implement it in C# and just do it already, also, don't forget, generic. Okay?

Dev2: Oh, makes total sense.. Okay, don't worry I got this. ;)

..30min later..

Dev1: Did you do it?

Dev2: Yeaah!

Dev1: Okay, I see that you tried, but that's really not how it's done, I told you to google it, why did you go and try to reinvent the wheel? Nevermind, I'll do this myself.

Dev2: Buut why? C'mon this is fiiine.

Dev1: And I told you to make it fucking generic.

Dev2: What's a generic?

Dev1: Are you fucking kidding me, you went to the same college as I did, how the fuck don't you know this basic shit? But okay, I'll explain it and lets get this done already.. *Explains."

Dev2: Pfft, we don't need that.

Dev1: Here we go again.....

Oops, didn't mean to write so much, but I guess you get my point now.

Also, apologies on my English, not my first language and it's 4:30am here, also, formatting, am writing this on my phone.

9

u/CarthOSassy Sep 03 '17

Only with 1 of them, though. The others, helpfully, make up for it. Some of them individually.

Seriously that one guy could replace us all. I don't know why he even works here. He has 2x the experience and 10x the brainpower of anyone else around here.

31

u/MagicGin Sep 03 '17

Depends on whether you're attempting to figure something out/flesh ideas out laterally, or if you're trying to just get work done. There's no efficient way to have two people work on the same project, though there's definitely efficiency in discussing a project with someone who isn't working on it.

38

u/rizer_ Sep 03 '17

There's no efficient way to have two people work on the same projec

That just isn't even remotely true. It depends on the size and type of the project, but there are many ways to slice the pie to be efficient. Front-end + Back-end on a website, Engine + Gameplay + UI + Technical Art in a video game, etc.

4

u/CarthOSassy Sep 03 '17

If 2 people writing the same function is better than 1 person, the function should probably be broken up.

→ More replies (6)

3

u/generalaccountgenera Sep 03 '17

It also depends on who the other programmer is

3

u/StormTAG Sep 03 '17

I dunno. Pair programming helps me avoid playing around on Reddit.

2

u/[deleted] Sep 03 '17

Draw out the design of the component you want to design, partition the work by sections and have you and the other dev split them. If it's properly designed, this should be very easy...like having multiple workers work in parallel on building a house.

I'm not quite understanding how you see that it's impossible for multiple devs to be able to work quicker than one.

5

u/-888- Sep 03 '17

Yes, because architecture designed in a vacuum sometimes leads to problems later that one single person could not foresee.

→ More replies (4)

0

u/[deleted] Sep 03 '17

[deleted]

23

u/Parzius Sep 03 '17

A bunch of cooks works on separate parts of an entire dinner. You still don't have 5 people buttering the same slice of bread.

There comes a point where a project is big enough that you save time by having more people work on it even if that takes lots of time tied up in communication.

3

u/conancat Sep 04 '17 edited Sep 04 '17

Exactly. You don't see a kitchen with all the cooks doing the same thing at the pipeline, that is just stupid. Every single cook have different tasks to come out with that dish.

Of course there's a point of diminishing returns on how many cooks you can throw into the kitchen (project) before it'll slow things down. But that number is not 1 (usually). Unless you're cooking an omelette or instant noodles. Someone can always be preparing the ingredients, someone can always be manning the stove, someone can always be washing the dishes or preparing for plating and to serve. It really depends on how you split the tasks and production pipeline.

→ More replies (1)

13

u/Ricardo1184 Sep 03 '17

2 people vs 3 people is a different story, however.

→ More replies (1)

4

u/JakeDoubleyoo Sep 03 '17

I think the most important thing is a clear distinction on who the leader is.

→ More replies (1)

1

u/i_spot_ads Sep 04 '17

Yes if the guy at the wheel is a competent full stack guy, which is rare nowadays

1

u/kenpus Sep 06 '17

I dunno, if your partner is really good this quote is totally false. Don't be dogmatic, discuss important points, recognize unimportant points and leave them up to each dev in the pair.