PDA

View Full Version : alot?



Yarin
07-08-2008, 02:32 PM
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?

CornedBee
07-08-2008, 02:33 PM
11000 lines for one person is, I'd say, an average-sized project.

mike_g
07-08-2008, 03:35 PM
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.

whiteflags
07-08-2008, 03:40 PM
It's not really the code density it's how well each line works.

VirtualAce
07-08-2008, 07:24 PM
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.

medievalelks
07-08-2008, 07:36 PM
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.