Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Lines of code...

Lines of code...

Scheduled Pinned Locked Moved The Lounge
c++comquestion
39 Posts 25 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Oz Solomon
    wrote on last edited by
    #1

    How many lines of code have you guys written so far in your life? I'm estimating I've written about 1 million lines :eek:. That might not seem a lot to people who have been at this since the sixties ;) but I still think that its a lot. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

    T M S T T 10 Replies Last reply
    0
    • O Oz Solomon

      How many lines of code have you guys written so far in your life? I'm estimating I've written about 1 million lines :eek:. That might not seem a lot to people who have been at this since the sixties ;) but I still think that its a lot. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

      T Offline
      T Offline
      Tim Smith
      wrote on last edited by
      #2

      Boy, that is really hard to say. But a 1,000,000? Even the best programmers only produce 100 lines of working code a day. (From a study many years ago. The average was 5 lines of working code a day.) That comes out to 26,000 lines of working code a year given 5 days a week, 52 weeks a year. Would take 38 years for the best of us to product 1,000,000 lines of code. Tim Smith Descartes Systems Sciences, Inc.

      N O T C N 7 Replies Last reply
      0
      • T Tim Smith

        Boy, that is really hard to say. But a 1,000,000? Even the best programmers only produce 100 lines of working code a day. (From a study many years ago. The average was 5 lines of working code a day.) That comes out to 26,000 lines of working code a year given 5 days a week, 52 weeks a year. Would take 38 years for the best of us to product 1,000,000 lines of code. Tim Smith Descartes Systems Sciences, Inc.

        N Offline
        N Offline
        Nemanja Trifunovic
        wrote on last edited by
        #3

        if ( a == b ) cout << a ; How many lines of code are there? ;P ;P ;P I vote pro drink :beer:

        U 1 Reply Last reply
        0
        • O Oz Solomon

          How many lines of code have you guys written so far in your life? I'm estimating I've written about 1 million lines :eek:. That might not seem a lot to people who have been at this since the sixties ;) but I still think that its a lot. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

          M Offline
          M Offline
          Michael P Butler
          wrote on last edited by
          #4

          I don't tend to count the how many lines of code I do. It's a bit of a pointless exercise, some days you can write 40 lines of code only to delete a 100 lines the next day. A more fun exercise is count the number of bugs you've introduced into a product, when you total all those that gets worrying :-) Michael :-)

          1 Reply Last reply
          0
          • T Tim Smith

            Boy, that is really hard to say. But a 1,000,000? Even the best programmers only produce 100 lines of working code a day. (From a study many years ago. The average was 5 lines of working code a day.) That comes out to 26,000 lines of working code a year given 5 days a week, 52 weeks a year. Would take 38 years for the best of us to product 1,000,000 lines of code. Tim Smith Descartes Systems Sciences, Inc.

            O Offline
            O Offline
            Oz Solomon
            wrote on last edited by
            #5

            Well, I can easily acount for about 1/2 million (WndTabs, major projects at work - past and present). I'm assuming that all the others add up. > The average was 5 lines of working code a day.) Hm.. Last time I heard, assembler programmers do 5 lines/day on average, not C++ (results will vary :)). For me, like eveyone - lines/day vary. For instance, now I'm doing a new feature (around 500+ lines/day). Other days it can drop to 50. Weekends are above average... -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

            T 1 Reply Last reply
            0
            • O Oz Solomon

              How many lines of code have you guys written so far in your life? I'm estimating I've written about 1 million lines :eek:. That might not seem a lot to people who have been at this since the sixties ;) but I still think that its a lot. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

              S Offline
              S Offline
              Stan Shannon
              wrote on last edited by
              #6

              I figure judging myself based upon the number of lines of code I've written would be about the same as expecting God to judge himself based upon the number of lines of text in the bible :) Some of us are simply beyond being measured by the puny limits of the mortal mind.:eek: (Besides, I keep losing count :(( ) "Want to know what makes me mad? Everything!" The Ranting Swede.

              1 Reply Last reply
              0
              • O Oz Solomon

                How many lines of code have you guys written so far in your life? I'm estimating I've written about 1 million lines :eek:. That might not seem a lot to people who have been at this since the sixties ;) but I still think that its a lot. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

                T Offline
                T Offline
                Tomasz Sowinski
                wrote on last edited by
                #7

                It's the quality that matters, not the quantity ;P Tomasz Sowinski -- http://www.shooltz.com

                1 Reply Last reply
                0
                • O Oz Solomon

                  Well, I can easily acount for about 1/2 million (WndTabs, major projects at work - past and present). I'm assuming that all the others add up. > The average was 5 lines of working code a day.) Hm.. Last time I heard, assembler programmers do 5 lines/day on average, not C++ (results will vary :)). For me, like eveyone - lines/day vary. For instance, now I'm doing a new feature (around 500+ lines/day). Other days it can drop to 50. Weekends are above average... -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

                  T Offline
                  T Offline
                  Troy Marchand
                  wrote on last edited by
                  #8

                  The figures for ave. lines/day, include the time that developers spend during design, and debugging stages. So even if you are doing 500/day right now, there will be days that you do not do anything but debug and rewrite (also rewriting code is not counted!!) Also the latest figures I have are between 16-20 per day for C++ developers.

                  O 1 Reply Last reply
                  0
                  • O Oz Solomon

                    How many lines of code have you guys written so far in your life? I'm estimating I've written about 1 million lines :eek:. That might not seem a lot to people who have been at this since the sixties ;) but I still think that its a lot. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

                    T Offline
                    T Offline
                    Troy Marchand
                    wrote on last edited by
                    #9

                    I believe in quality not quantity! I have written software in the past that only contains one tenth the code of a competing product. Does this mean their product is better because of the lines? Or does this mean that their product has the potential of 10x the number of bugs, and 10x the work to maintain? Troy

                    O 1 Reply Last reply
                    0
                    • T Troy Marchand

                      The figures for ave. lines/day, include the time that developers spend during design, and debugging stages. So even if you are doing 500/day right now, there will be days that you do not do anything but debug and rewrite (also rewriting code is not counted!!) Also the latest figures I have are between 16-20 per day for C++ developers.

                      O Offline
                      O Offline
                      Oz Solomon
                      wrote on last edited by
                      #10

                      I guess the main point of my original post was misunderstood. This was not a "I wrote more lines than you" post, nor was it "I write more lines/day than you" post. I simply meant to convey my amazement at the fact that people like you and I could have written such a huge amount of code. > also rewriting code is not counted! ... which is why rewriting does count - you wrote both the original and the rewrite (again - I'm not talking about metrics you need to give to the boss at the end of the release). -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

                      T C 2 Replies Last reply
                      0
                      • T Troy Marchand

                        I believe in quality not quantity! I have written software in the past that only contains one tenth the code of a competing product. Does this mean their product is better because of the lines? Or does this mean that their product has the potential of 10x the number of bugs, and 10x the work to maintain? Troy

                        O Offline
                        O Offline
                        Oz Solomon
                        wrote on last edited by
                        #11

                        How do you know Troy - did you have their source code? ;) -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

                        A 1 Reply Last reply
                        0
                        • T Tim Smith

                          Boy, that is really hard to say. But a 1,000,000? Even the best programmers only produce 100 lines of working code a day. (From a study many years ago. The average was 5 lines of working code a day.) That comes out to 26,000 lines of working code a year given 5 days a week, 52 weeks a year. Would take 38 years for the best of us to product 1,000,000 lines of code. Tim Smith Descartes Systems Sciences, Inc.

                          T Offline
                          T Offline
                          Thomas Freudenberg
                          wrote on last edited by
                          #12

                          [...] The average was 5 lines of working code a day.

                          repectively 5 clicks a day when taking about VB programmers ;)


                          Disclaimer:
                          Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.

                          J 1 Reply Last reply
                          0
                          • T Thomas Freudenberg

                            [...] The average was 5 lines of working code a day.

                            repectively 5 clicks a day when taking about VB programmers ;)


                            Disclaimer:
                            Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.

                            J Offline
                            J Offline
                            John Simmon outlaw programmer
                            wrote on last edited by
                            #13

                            repectively 5 clicks a day when taking about VB programmers Nice one !:laugh:

                            1 Reply Last reply
                            0
                            • O Oz Solomon

                              I guess the main point of my original post was misunderstood. This was not a "I wrote more lines than you" post, nor was it "I write more lines/day than you" post. I simply meant to convey my amazement at the fact that people like you and I could have written such a huge amount of code. > also rewriting code is not counted! ... which is why rewriting does count - you wrote both the original and the rewrite (again - I'm not talking about metrics you need to give to the boss at the end of the release). -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

                              T Offline
                              T Offline
                              Tim Smith
                              wrote on last edited by
                              #14

                              Well, trust me, I didn't take the message as a "Mine is bigger than yours" message. Tim Smith Descartes Systems Sciences, Inc.

                              J 1 Reply Last reply
                              0
                              • O Oz Solomon

                                How many lines of code have you guys written so far in your life? I'm estimating I've written about 1 million lines :eek:. That might not seem a lot to people who have been at this since the sixties ;) but I still think that its a lot. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

                                C Offline
                                C Offline
                                Chris Maunder
                                wrote on last edited by
                                #15

                                That's a tough one. Some of my components and apps I've rewritten from the ground up several times (yeah, one day I'll start designing before I start coding ;)), and some projects are modifications of existing work, where you modify half a line, or cut out 10 lines and add back 2. An interesting stat would be: (No. of lines of code you've written still in existences) / (No. lines written overall) The Mozart of computer programming would have this figure close to one. The Chris Maunder of programming would have this figure close to the other end of the scale. cheers, Chris Maunder (CodeProject)

                                1 Reply Last reply
                                0
                                • O Oz Solomon

                                  I guess the main point of my original post was misunderstood. This was not a "I wrote more lines than you" post, nor was it "I write more lines/day than you" post. I simply meant to convey my amazement at the fact that people like you and I could have written such a huge amount of code. > also rewriting code is not counted! ... which is why rewriting does count - you wrote both the original and the rewrite (again - I'm not talking about metrics you need to give to the boss at the end of the release). -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

                                  C Offline
                                  C Offline
                                  CodeGuy
                                  wrote on last edited by
                                  #16

                                  Oz, how the heck do you estimate both original and rewrite? CodeGuy The WTL newsgroup: 890 members and growing ... http://groups.yahoo.com/group/wtl

                                  1 Reply Last reply
                                  0
                                  • T Tim Smith

                                    Boy, that is really hard to say. But a 1,000,000? Even the best programmers only produce 100 lines of working code a day. (From a study many years ago. The average was 5 lines of working code a day.) That comes out to 26,000 lines of working code a year given 5 days a week, 52 weeks a year. Would take 38 years for the best of us to product 1,000,000 lines of code. Tim Smith Descartes Systems Sciences, Inc.

                                    C Offline
                                    C Offline
                                    Christian Graus
                                    wrote on last edited by
                                    #17

                                    It's my opinion that anyone who produces an average of five lines of code a day deserves to be paid in banana dollars. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.

                                    G T S 3 Replies Last reply
                                    0
                                    • C Christian Graus

                                      It's my opinion that anyone who produces an average of five lines of code a day deserves to be paid in banana dollars. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.

                                      G Offline
                                      G Offline
                                      George
                                      wrote on last edited by
                                      #18

                                      I will agree with that, althought it depends on the job. I was working once for a huge company (about 160,000 staff in total and 3,000 developers world wide) and to comply with ISO 9001 standards the procedure was in place that would effectively make you writing 5 lines of code per week, but at the same time you would write few pages about those lines - what they do etc...

                                      C 1 Reply Last reply
                                      0
                                      • G George

                                        I will agree with that, althought it depends on the job. I was working once for a huge company (about 160,000 staff in total and 3,000 developers world wide) and to comply with ISO 9001 standards the procedure was in place that would effectively make you writing 5 lines of code per week, but at the same time you would write few pages about those lines - what they do etc...

                                        C Offline
                                        C Offline
                                        Christian Graus
                                        wrote on last edited by
                                        #19

                                        I look for ISO 9001 signs at potential employers offices, and run. As you'd know, ISO guarentees nothing about quality except consistency, and does that by generating wads of useless paperwork. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.

                                        1 Reply Last reply
                                        0
                                        • O Oz Solomon

                                          How do you know Troy - did you have their source code? ;) -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...

                                          A Offline
                                          A Offline
                                          Andrew Peace
                                          wrote on last edited by
                                          #20

                                          Yes, I wondered that when I first read the post too.....:) > Andrew     "Do you like my mask, it raises the dead...!"     -- Buffy (season 3, Giles)

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups