C Board  

Go Back   C Board > Community Boards > General Discussions

View Poll Results: Your biggest project: how many lines?
< 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%
Voters: 38. You may not vote on this poll

Reply
 
LinkBack Thread Tools Display Modes
Old 04-20-2009, 05:00 AM   #1
In my head
 
happyclown's Avatar
 
Join Date: Dec 2008
Location: In my head
Posts: 327
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!
__________________
M$ rules! *Turns towards Redmond and bows*

Last edited by CornedBee; 04-20-2009 at 05:09 AM.
happyclown is offline   Reply With Quote
Old 04-20-2009, 05:06 AM   #2
Cat without Hat
 
CornedBee's Avatar
 
Join Date: Apr 2003
Posts: 8,492
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
CornedBee is offline   Reply With Quote
Old 04-20-2009, 05:07 AM   #3
In my head
 
happyclown's Avatar
 
Join Date: Dec 2008
Location: In my head
Posts: 327
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
__________________
M$ rules! *Turns towards Redmond and bows*
happyclown is offline   Reply With Quote
Old 04-20-2009, 05:13 AM   #4
Kernel hacker
 
Join Date: Jul 2007
Location: Farncombe, Surrey, England
Posts: 15,686
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.
matsp is offline   Reply With Quote
Old 04-20-2009, 05:43 AM   #5
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 11,322
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
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is online now   Reply With Quote
Old 04-20-2009, 07:44 AM   #6
Guest
 
Sebastiani's Avatar
 
Join Date: Aug 2001
Posts: 5,034
Indeed.
Sebastiani is offline   Reply With Quote
Old 04-20-2009, 10:40 AM   #7
Senior software engineer
 
brewbuck's Avatar
 
Join Date: Mar 2007
Location: Portland, OR
Posts: 5,762
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.
__________________
"Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot
brewbuck is offline   Reply With Quote
Old 04-20-2009, 11:20 AM   #8
Registered User
 
Join Date: Sep 2004
Location: California
Posts: 3,020
I just did a line count on my current project, and it is 885017 lines. About 100K-200K of those are mine.
bithub is offline   Reply With Quote
Old 04-20-2009, 11:37 AM   #9
and the hat of sweating
 
Join Date: Aug 2007
Location: Toronto, ON
Posts: 3,279
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
cpjust is offline   Reply With Quote
Old 04-20-2009, 11:41 AM   #10
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,698
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.

Quote:
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.
dwks is offline   Reply With Quote
Old 04-20-2009, 12:23 PM   #11
Registered User
 
Join Date: Jan 2005
Posts: 7,251
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.
Daved is offline   Reply With Quote
Old 04-20-2009, 02:20 PM   #12
Registered User
 
Join Date: Sep 2004
Location: California
Posts: 3,020
Quote:
Wow, that's a lot of code! What project is this if I may ask?
Think of it as an enterprise level TIVO.
bithub is offline   Reply With Quote
Old 04-20-2009, 02:52 PM   #13
Devil's Advocate
 
SlyMaelstrom's Avatar
 
Join Date: May 2004
Location: Out of scope
Posts: 3,778
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.
__________________
Terms of Service
By quoting or replying directly to this post, you consent to the fact that all of the information in the post above is completely accurate and highly intelligent and no comments will be made towards its validity, thoughtlessness, and/or grammatical structure.

Violators will be prosecuted to the fullest extent of the law.
SlyMaelstrom is offline   Reply With Quote
Old 04-20-2009, 03:03 PM   #14
Registered User
 
Join Date: Dec 2006
Location: Canada
Posts: 2,007
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.
cyberfish is offline   Reply With Quote
Old 04-20-2009, 03:27 PM   #15
The larch
 
Join Date: May 2006
Posts: 3,222
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.

Quote:
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).
anon is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing "shapes" based on character lines and number of line inputs matt_570 C++ Programming 11 10-07-2008 06:19 PM
2D RPG Online Game Project. 30% Complete. To be released and marketed. drallstars Projects and Job Recruitment 2 10-28-2006 12:48 AM
Dynamic Binding gpr1me C++ Programming 1 03-24-2006 09:01 AM
Game Independent Anti-cheat Project Needs Programmers GIA Project Lea Projects and Job Recruitment 3 09-15-2005 07:41 PM
DJGPP project problems Bubba A Brief History of Cprogramming.com 4 06-08-2002 07:16 PM


All times are GMT -6. The time now is 08:32 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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