Thread: alot?

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158

    alot?

    I just finished a project (xLib32 v1.2) of mine, that consists of 11,160 lines of code, is this considered a large project for an individual? Especially for one who only has 4 years of coding exp?

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    11000 lines for one person is, I'd say, an average-sized project.
    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
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    Lines of code means nothing w/o context. I can easily bang out 500 lines of Swing/AWT UI code in 3 hours. Then sometimes I could end up spending 3 hours to produce 5 lines of working code. It really depends on what you are coding.

  4. #4
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    It's not really the code density it's how well each line works.

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    All true statements but it is harder to work in a code line with more lines. Usually the more lines the more complex and the more small changes have drastic effects.

    I would say that is an average size as well for one person. I won't make it sound as if your project is somehow inferior and 11K lines is definitely sizeable for one or two people.

    Comparing it with a professional code line that has a million or more lines and has been worked on for years and years is just not fair.

    Lines of code means nothing w/o context.
    11000 lines is a lot of context.

  6. #6
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    11000 lines of well-factored code seems like a good bit to me. I've seen libraries of 1000s of LOC that were pretty much the same DB class (or set of classes) over and over, one for each table in a database.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. storing alot of variables...
    By MikeyIckey in forum C Programming
    Replies: 11
    Last Post: 05-30-2008, 12:31 PM
  2. Replies: 8
    Last Post: 03-27-2004, 11:50 AM
  3. >>strcmp(); makes it alot easier to compare 2 strings
    By Waspntr in forum C++ Programming
    Replies: 6
    Last Post: 02-06-2003, 08:11 PM
  4. Replies: 6
    Last Post: 08-18-2002, 08:01 AM
  5. Someone who knows alot abou electrical engineering, physics, and programming
    By Imperito in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-28-2002, 09:22 AM