Programmers: Do you not like it when coworkers "take" your code?

Discussion in 'OT Technology' started by Spiral Out, Aug 12, 2005.

  1. Spiral Out

    Spiral Out Active Member

    Joined:
    Mar 30, 2002
    Messages:
    12,287
    Likes Received:
    0
    Location:
    Florida
    ...I've had a coworker open my projects to look at my code because this person can't figure out how to do stuff. Now I dont mind helping out someone when they are stuck but to go behind my back and take my code without asking irks me. Anyone else?
     
  2. Synner

    Synner New Member

    Joined:
    Jan 11, 2005
    Messages:
    2,461
    Likes Received:
    0
    I can see where you'd be pissed, your code is your baby. But then again, it depends on what you're doing...

    Networking: You may not like it, but it could help out in the long run.
    Open-source: Meh...give and take.
    Working for Microsoft: Take him out back, hire someone to dispose of the body, and never mention his name again.
     
  3. fatlip

    fatlip Transcendence Into The Peripheral

    Joined:
    Jun 16, 2001
    Messages:
    522
    Likes Received:
    0
    Location:
    UK
    It only annoys me if they go and make changes to it without consulting me first, if there just looking then I don't see the problem, unless you suspect there going to rip off your code of course. In my office we all share code freely.
     
  4. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    pisses me off when somebody goes behind my back, but if someone where to come to me and ask me if i had an example of blah, and i gave them some good code to start with, i think i actually get a power trip from it :hsugh:
     
  5. georgexi

    georgexi o.O OT Supporter

    Joined:
    Jul 13, 2005
    Messages:
    5,206
    Likes Received:
    0
    Location:
    PA
    I'd rather them borrow my code than come asking me a dozen questions every hour.
     
  6. eof

    eof New Member

    Joined:
    Jan 17, 2002
    Messages:
    7,288
    Likes Received:
    0
    exactly and if your code is properly written and is properly "borrowed" then it just means the project is moving quicker and the end product will be better.

    It is hard to complain about the end result.... :)
     
  7. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,922
    Likes Received:
    11
    Location:
    Los Angeles
    I don't care.
     
  8. percent

    percent deluded

    Joined:
    Jan 5, 2004
    Messages:
    12,371
    Likes Received:
    0
    Location:
    The Desert West
    In my office we share code openly. If someone has already written a function that does what you are trying to do, it would be rediculous not to reuse it.

    I surely don't have every function i have ever wrote memorized. I don't think you should have to. You should know how to do it or where to find it. I look back at my own code all the time when I redo things. I use my coworkers stuff also. Some projects I have completed completely by splicing together code for past projects. I could see if it was a competitor, but not a coworker. don't be such a loner. Share with your office and everyone will get things done faster.

    Why would you not want to share? :dunno:
     
  9. eof

    eof New Member

    Joined:
    Jan 17, 2002
    Messages:
    7,288
    Likes Received:
    0
    I think he is scared that his shit is inferior and that when it fails and gets traced back to him he will get ragged on again.
     
  10. Spiral Out

    Spiral Out Active Member

    Joined:
    Mar 30, 2002
    Messages:
    12,287
    Likes Received:
    0
    Location:
    Florida
    :werd: And I am protective of my code because it's my baby...
     
  11. Gonrad

    Gonrad OT Supporter

    Joined:
    Nov 15, 2003
    Messages:
    17,422
    Likes Received:
    0
    Location:
    Toronto
    My code doesn't belong to me; it belongs to the company.

    Now if someone steals my code and gets credit for it, then I'd be pissed.

    For the most part, me and my co-developer look at each other's all the time. Most of the time because we work on the same proejcts.

    I don't mind...
     
  12. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,922
    Likes Received:
    11
    Location:
    Los Angeles
    Exactly. Self employ yourself if you don't want co-workers to use your code.
     
  13. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    As what has been stated, it is not your code, but the company. I have no problem if someone wants to use something I wrote, as long as they read the comments/docs first before asking me any questions on how the function works.

    Usually if people are asking me on "how to do this" I just tell them psudocode, unless I already have the function. The best way to learn it doing it yourself. Often they will ask me on ways to improve their code or other options, then I'll give my input.
     

Share This Page