Results 1 to 19 of 19

Thread: How many lines of code per day?

  1. #1

    Thread Starter
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464

    How many lines of code per day?

    For all of you that are working as programmers (not doing it in your spare time).

    1. How many lines of code do you produce a day for your company?
    2. How much time do you spend fixing bugs in that code?

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    I would say 1/2 my time is spent planning the application.

    I probably produce on the average 200 - 300 lines a day....i did have a day last week where I wrote almost 1000 lines.

    My coding time takes into consideration debugging as well.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  3. #3
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    I do like 2-3 lines a day, but I don't work for a company, and spend very little time on debugging, as I just leave that for the next day.

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    When I'm initially writing an app I could be banging out hundreds of lines a day for about a week.

    But then towards the end of the development cycle, I could spend a few hours on just 5 or 10 lines of code trying to debug something...
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  5. #5
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849
    1) 100 per day

    2) the whole of the next day

    "Brothers, you asked for it."
    ...Francisco Domingo Carlos Andres Sebastian D'Anconia

  6. #6
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Originally posted by KayJay
    2) the whole of the next day
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  7. #7
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: How many lines of code per day?

    Originally posted by hellswraith
    For all of you that are working as programmers (not doing it in your spare time).

    1. How many lines of code do you produce a day for your company?
    2. How much time do you spend fixing bugs in that code?
    Depends on what type of program you are doing... Some things can be repetitive
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  8. #8
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    1) Depends, sometimes 2-3; unless my dealer has come through, then I might do 4... oh wait, that says code, I thought it said coke!
    In that case....no, wait, it's still only 2-3....
    too much time is spend in documentation these days.
    2) The rest of the day after writting those 2-3 lines.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  9. #9
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Yeah, depends at what stage of the project and the complexity of t, they'll be days where I can't move forward & they'll be days where I'm 'banging it out' as it were - probably anywhere from about 25 at the end of an app to 700 ish when I know what I'm doing & am cracking on, on average I guess you could probably say around 200-300 mark.

    Debugging, again depends on the size of the program but I guess for every 100 lines, probably 5-10 I'll need to sort on average, mainly stupid typos!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  10. #10
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Originally posted by alex_read
    mainly stupid typos!
    The sign of someone who doesn't use option explicit
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  11. #11
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    [sarcasm] Option explicit is for cheaters and people looking for the easy way out [/sarcasm]
    Place Your VBForums Ad Here

  12. #12
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Originally posted by run_GMoney
    [sarcasm] Option explicit is for cheaters and people looking for the easy way out [/sarcasm]
    Personally I program in notepad and compile the application by hand using paper&pen.
    You obviously take the easy way out and let VB compile it for you


    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  13. #13
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    Actually I type all my code in binary. My brain can only compute 1's and 0's.
    Place Your VBForums Ad Here

  14. #14
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Originally posted by run_GMoney
    Actually I type all my code in binary. My brain can only compute 1's and 0's.
    thats a waste of keys and intellect
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  15. #15
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    Originally posted by kedaman
    thats a waste of keys and intellect
    At least I'm not a cheater...
    Place Your VBForums Ad Here

  16. #16
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Originally posted by kedaman
    thats a waste of keys and intellect
    I myself use squirrel
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  17. #17
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  18. #18
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    I didn't know squirrels knew how to compile code by hand from Notepad into VB.
    Place Your VBForums Ad Here

  19. #19
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Originally posted by run_GMoney
    I didn't know squirrels knew how to compile code by hand from Notepad into VB.
    There is much for you to learn yet young jedi.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width