Thread: team C

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    51

    team C

    I am not a professional programmer, so forgive me if this sounds too elementary for you. When I first started the project I am working on, I asked my co-workers for help with the project since it will benefit them, but nobody else would help out, probably since nobody else knew how to program for windows. Anyway, now that I am about a six months into it, I am wondering how I would have divided up the work had someone agreed to help. I find myself frequently updating routines I wrote earlier as I get a better grip on how things should be. So my question is, how do the pros orchestrate the work? They must have some way of dividing up the work.

    Just curious

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    Quote Originally Posted by FOOTOO View Post
    Anyway, now that I am about a six months into it, I am wondering how I would have divided up the work had someone agreed to help. I find myself frequently updating routines I wrote earlier as I get a better grip on how things should be. So my question is, how do the pros orchestrate the work? They must have some way of dividing up the work.
    Modular code and version control play a large part.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > I find myself frequently updating routines I wrote earlier as I get a better grip on how things should be.
    http://cboard.cprogramming.com/showp...02&postcount=6
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User
    Join Date
    Jan 2005
    Posts
    51
    Well, if you've never gone back and changed your routines..... You know, added a parameter, added members, revised a process, then either your project isn't very complex or your simply perfect. I know I am not perfect.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    You've simply missed the point then.

    Sure a good design will mean that you can write the code from end to end without ever changing anything. But even an average design will significantly cut down on the amount of code thrashing that you seem to be complaining about.

    Interfaces in particular get a lot of attention to make sure they're right, because they're the ones hardest to change once the code is written. Particularly if you're dividing up the work between several people, a good set of interfaces allows everyone to work to a known reference which isn't likely to change on a whim.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  6. #6
    Registered User
    Join Date
    Jan 2005
    Posts
    51
    Quote Originally Posted by Salem View Post

    Interfaces in particular get a lot of attention to make sure they're right, because they're the ones hardest to change once the code is written. Particularly if you're dividing up the work between several people, a good set of interfaces allows everyone to work to a known reference which isn't likely to change on a whim.
    Yes, Yes!! This is very true. I found a great deal of my time and code to be devoted to fine tuning the gui. It looks good when I sketch it out on paper, but when I implement it, things don't always work well and require adjustment. Also, many of the bugs I had in my computational engine didn't become known until I had enough of an interface to play with things, again causing me to go back and redo things. This is probably not the point you are trying to make, but it is good to know I don't stand alone in this.

    Thanks

  7. #7
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    I had the impression that Salem was talking about programming interfaces, not graphical user interfaces (or perhaps both).
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  8. #8
    Registered User
    Join Date
    Jan 2005
    Posts
    51
    Quote Originally Posted by laserlight View Post
    I had the impression that Salem was talking about programming interfaces, not graphical user interfaces (or perhaps both).
    Oh, I think you're right. Just got a little too excited I guess.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem with league table
    By vw1970 in forum C Programming
    Replies: 6
    Last Post: 01-04-2009, 09:16 AM
  2. Reverse order printing
    By JFonseka in forum C Programming
    Replies: 1
    Last Post: 08-19-2007, 06:47 AM
  3. Football team league need help to make this work
    By wurzull in forum C Programming
    Replies: 1
    Last Post: 04-07-2007, 07:35 AM
  4. Forming RTS Demo Team – Sixth Extinction
    By SteelRain4eva in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 06-08-2006, 08:47 PM
  5. cprog.com game dev. team
    By Generator in forum A Brief History of Cprogramming.com
    Replies: 90
    Last Post: 11-01-2001, 08:42 PM