2 Replies - 1250 Views - Last Post: 27 May 2013 - 08:58 PM

#1 noja190  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 27
  • Joined: 30-May 12

Question: Real time Co-Op programming?

Posted 27 May 2013 - 01:35 PM

End of the school year is almost here, and me and my friend want to dedicate the summer to learning C++

I've always wondered though. On big programming projects like games and firewall programs, How do multiple people work together on code? I'd imagine it would get very messy.

Anyways...I'm using CodeBlocks right now, but is there another IDE that will let you program together in real-time?

If not, How can we work together on programming?

This post has been edited by noja190: 27 May 2013 - 01:35 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Question: Real time Co-Op programming?

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9223
  • View blog
  • Posts: 34,630
  • Joined: 12-June 08

Re: Question: Real time Co-Op programming?

Posted 27 May 2013 - 01:40 PM

Quote

I've always wondered though. On big programming projects like games and firewall programs, How do multiple people work together on code? I'd imagine it would get very messy.

Two things - planning and source control.

Quote

Anyways...I'm using CodeBlocks right now, but is there another IDE that will let you program together in real-time?

I would hope not. That would be.. odd. Pair programming - where you have one person driving and the other looking over their shoulder - bugs me enough I couldn't imagine trying to code around what ever someone is editing the same file you are using.

Quote

If not, How can we work together on programming?

You take your project.. and before you even touch a lick of code you plan. Break it down into manageable pieces, logical parts, set milestones, etc. Then you dole those work chunks out to people. They key is everyone works off the same code repository - be it Team Foundation Server, GITHUB, SVN, etc. Then as people get chunks done you have someone (or that person) integrate that into the code repository and everyone gets a new copy and continues working. It's like building things with legos. Small pieces make up the bigger pieces makes up the Death Star. You know - the whole 'object orientated programming' method.
Was This Post Helpful? 0
  • +
  • -

#3 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 3579
  • View blog
  • Posts: 11,130
  • Joined: 05-May 12

Re: Question: Real time Co-Op programming?

Posted 27 May 2013 - 08:58 PM

Yes, pair programming can be very disconcerting the first 30 minutes of doing it. After a while it becomes very natural. It's not for control freaks, though -- specially if the two of you have very different coding styles (eg. different spacing after some keywords, different indentation styles, different naming conventions). On the other hand, it can be very good learning / teaching environment as you both learn little tips and tricks from each other.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1