View Poll Results: Your biggest project: how many lines?

Voters
38. You may not vote on this poll
  • < 200 lines

    4 10.53%
  • > 300

    0 0%
  • > 500

    0 0%
  • > 750

    1 2.63%
  • > 1000

    2 5.26%
  • > 1500

    1 2.63%
  • > 2000

    2 5.26%
  • > 3000

    1 2.63%
  • > 4000

    4 10.53%
  • > 5000

    5 13.16%
  • > 7500

    2 5.26%
  • > 10 000

    3 7.89%
  • > 15 000

    1 2.63%
  • > 20 000

    2 5.26%
  • > 30 000 lines

    10 26.32%

Your biggest project: how many lines have you written?

This is a discussion on Your biggest project: how many lines have you written? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Ok, first some ground rules: ================================================== ======== 1. The code must have been written by YOU . 2. Only code ...

  1. #1
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391

    Your biggest project: how many lines have you written?

    Ok, first some ground rules:

    ================================================== ========

    1. The code must have been written by YOU.

    2. Only code that have been written counts. Code that is managed by you does not count.

    3. The code must have already been written. Even if your current project will eventually be your biggest, if you've so far written less code than another project, then the number of lines from the other project(where the code has already been written) counts.

    4. If you are working/have worked in colaboration with other people, then the number of lines of code that you have written counts.

    ================================================== ========

    Whoever has written the most lines in any project wins forum bragging rights for 2009.

    Myself, my biggest project to date has been 174 lines. Took me about 2 months, but dayum, what a marvelous, thoroughly enjoyable experience!

    Let the games begin!
    Last edited by CornedBee; 04-20-2009 at 05:09 AM.
    OS: Linux Mint 13(Maya) LTS 64 bit.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    Eh, I voted before reading the exact rules.

    My current project is some 7000 lines, I think. I don't really keep track of LoCs, though. I think I wrote something with about 10000 lines too.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    Corned Bee, could you please change the thread heading to either mention reading the rules first, or to include "how many lines did YOU write"?

    Thanks.


    Done - CornedBee
    OS: Linux Mint 13(Maya) LTS 64 bit.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    My first ever professional project ended up a few more than 20000 lines. I choose 30000 lines, as I have since written a few project (on my own) that was larger than that - I'm not sure the exact size tho.

    I have worked on several projects that have millions of lines in them, but not much of that was my code.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    20,968
    Quote Originally Posted by happyclown
    2. Only code that have been written counts.
    Heheheh...
    Quote Originally Posted by Prelude
    My best code is written with the delete key.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  6. #6
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,600
    Indeed.
    Code:
    if( numeric_limits< byte >::digits != bits_per_byte )
        error( "program requires bits_per_byte-bit bytes" );
    24bbs.cpp

  7. #7
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,158
    It has to be in the hundreds of thousands. On a single project, maybe several tens of thousands.. Not sure.

    Doing a global line count on all *.c, *.cpp, *.h files in my personal source tree gives 284,667.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  8. #8
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    I just did a line count on my current project, and it is 885017 lines. About 100K-200K of those are mine.

  9. #9
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    At least 30,000 lines (including a lot of doxygen documentation lines) over about 2.5 years.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  10. #10
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,045
    Some of my projects have been 14,000 lines and 8,000 lines and that sort of range. I don't usually concentrate on a single project for more than a year.

    I just did a line count on my current project, and it is 885017 lines. About 100K-200K of those are mine.
    Wow, that's a lot of code! What project is this if I may ask?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  11. #11
    Registered User
    Join Date
    Jan 2005
    Posts
    7,317
    Another developer just put our estimated line count at 5.3 million lines. I'm guessing I've written at least 1% of that, so I'm going to vote for the last option. I'm too lazy to see if I rival some of the other big numbers here by myself.

  12. #12
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    Wow, that's a lot of code! What project is this if I may ask?
    Think of it as an enterprise level TIVO.

  13. #13
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,062
    Honestly, I'd struggle to say that I've written 500,000 lines of code in my entire life, let alone on a single project. I might just be greatly miscalculating, though.

    I'm the only programmer on my current project for work and it currently weights in at a measly 6500 lines. That said, it's VB with SQL server, and of course, much of VB is actually spent designing proper interfaces in a non-coding environment.
    Sent from my iPadŽ

  14. #14
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,145
    About 6000 lines if I don't consider projects written before I knew how to use loops...

    I have done a lot of programming contest type programs, though, to prepare for a programming contest (University of Waterloo's high school contest) that I was so close to getting perfect but made a stupid mistake in one problem... that costed me my entrance to the stage 2 of the contest, where winners get to go to the IOI (International Olympiad in Informatics) . I think I ranked something like 25th internationally in Canada (3rd in my province I believe), and they only took 20... so I only got an honourable mention. They are all very short programs (~100 lines), but VERY mind-twisting, and some can take a few days to do.

  15. #15
    The larch
    Join Date
    May 2006
    Posts
    3,573
    It appears that my current project (a Wordpad clone) is the largest: 40+ headers, 40+ source files and about 6000+ lines.
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

Page 1 of 3 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 11
    Last Post: 10-07-2008, 06:19 PM
  2. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  3. Dynamic Binding
    By gpr1me in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2006, 08:01 AM
  4. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  5. DJGPP project problems
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 06-08-2002, 07:16 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21