View Poll Results: Number of Source Lines?

Voters
40. You may not vote on this poll
  • 1,000

    9 22.50%
  • 2,000

    5 12.50%
  • 5,000

    5 12.50%
  • 10,000

    6 15.00%
  • 20,000

    3 7.50%
  • 40,000

    1 2.50%
  • 50,000

    4 10.00%
  • 75,000 Plus

    7 17.50%

Thread: What's the Biggest Program You have ever Written?

  1. #31
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    I was suggesting counting lines, but if it'd write the program for me too, I certainly would not be averse to that.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  2. #32
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    Well i've been programming in C for a while but i've never had to write big programmer thats why im asking.
    I'm a big programmer

    Large programs are often written by teams, not single individuals.
    If you count the entire team, the largest I've worked on was several million lines of code.
    That was a 70 man team (about 25 of them programmers) working fulltime for 5 years on a codebase that had been purchased at several hundred thousand lines from another company, expanded and improved upon constantly.

    Largest program I've done on my own and from scratch is probably 20k lines or so.

    Of course as already stated KLOC doesn't mean anything.
    At one point in a project where KLOC was taken as gospel the team I was a part of (that huge 70 man project was wisely split into 3-5 man teams each responsible for part of the system) was taking heat for producing a low KLOC count for a release (the customer had been promised 100K lines of code, we'd produced according to the count only -20K ).
    Of course the count didn't take into account that we'd removed about 200K lines of dead code and written 80K lines of new code as well.

    Focussing purely on KLOC makes for overly large code which is hard to maintain.
    Focussing purely on keeping code as small as possible causes obfuscation which causes bugs and maintenance problems.

  3. #33
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    The largest program I have ever written (still working some of the bugs out):
    Code:
    #include <iostream.h>
    
    void main()
    {
       cout << "hello" + "world" << end1;
       return 1.6; /* Returning approximation to the golden ratio means success
    }
    Last edited by Zach L.; 11-30-2004 at 07:40 AM.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  4. #34
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    A KLOC eh? You wouldn't happen to have worked for IBM? They use that term a lot, or at least used to. Especially in relation to how large their OS2 operating system was going to be.

  5. #35
    former member Brain Cell's Avatar
    Join Date
    Feb 2004
    Posts
    472
    Zach.L , jwenting and okrinus :
    Thanks for the tips
    My Tutorials :
    - Bad programming practices in : C
    - C\C++ Tips
    (constrcutive criticism is very welcome)


    - Brain Cell

  6. #36
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    Bubba, as it happens the company was purchased by IBM the year I left there (the one was unrelated to the other I assure you ).

  7. #37
    Registered User
    Join Date
    Nov 2002
    Posts
    82
    I've done programs programs with over 20,000 lines *without comments*. Nice technique to deter fools and to easily detect code piracy My recent one was for my Electrical Engineering Fault Anlysis System --> (Circuit Analysis via Bus Impedance Matrix).

    Oh yeeeeaaaahhhh...

  8. #38
    Student Forever! bookworm's Avatar
    Join Date
    Apr 2003
    Posts
    132
    My biggest program was written is C# on creating encrypted versions of files and their susequent decryption along with a few goody goody features such as separate accounts , web updates etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 01:42 AM
  2. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  3. I need some help with my program please.
    By agentxx04 in forum C Programming
    Replies: 9
    Last Post: 09-26-2004, 07:51 AM
  4. matrix program written in c++
    By boa_321 in forum C++ Programming
    Replies: 2
    Last Post: 02-03-2003, 09:33 AM
  5. redirection program help needed??
    By Unregistered in forum Linux Programming
    Replies: 0
    Last Post: 04-17-2002, 05:50 AM