What is the largest programming project you've worked on? Also, what is the largest program you wrote entirely by yourself (if it's not the same one)?
A good tool for counting lines of code is sloccount: http://www.dwheeler.com/sloccount/
The largest program I worked on (a 3D game) is about 113,000 lines, and the largest I wrote myself from scratch (a puzzle game) is 1,574.
http://aa.1asphost.com/x0p30d3/list%20manager.py
A list manager I did for my final assessment for software design. My teacher was an idiot, and my class sucked, so the bar wasnt that high.
This was a last-minute job, with some poor concepts (and execution).
Oh, right, 225 lines, but a good portion of them are comments, explaining defined variables and functions etc.
SLOCCount says Thorn has 7,466 lines of code, but I think that's kind of useless because it's counting all the libraries coded by others I'm using (especially Smarty, which is pretty huge) but not counting the template files, which get just as much time and effort put into them as the actual PHP code.
But outside of arbitrary numbers, I know that that is the project that I have put the most effort into. I put a lot of work into a couple of realBASIC apps I wrote in high school, but I think the work on Thorn has surpassed those by now.
Project: unknown (1 mloc?)
Personal: unknown (10 kloc?)
As you can probably tell, I don't keep track of these things.
I've submitted patches to wxWidgets, which is pretty huge. Can't really count that as "working on", though, if I just looked at a tiny part and bugfixed it.
A quick survey with sloccount says this one game I've written is around 25000 lines of my own code. Kind of tricky to factor out the external libraries properly, though. Total lines with them included is closer to 70000.
Xee is somewhere just over 10000 lines.
My work consists of maintaining and extending pretty big ball of mud AKA business solution. There is more than 200 SQL tables and around 200 SQL procedures and functions, most procedures are more than 100 LOC long and few have around 1k LOC, also there is something like 400 files with ASP / C# / ECMAScript, although most of them are copy-paste code from other files and broken HTML.
My personal largest project is nice and simple web journal written in Ruby, no data base, no shit, just 84 lines of code ( LOL ), but it is very extensible, so I have few hundreds of LOC in various plugins ( comments, calendar, searching, subversion log, etc. ). In total it looks like this:
$ wc -l memex.rb plug/* tmpl/* css/* | grep total
923 total
FreeBSD or Linux kernel, whichever is larger.
Lies, damn lies, and SLOC
Well, it's true, >>11. SLOC isn't everything. Poor coding style (e.g. using extremely long lines or multiple side effects on a line) can reduce SLOC quite a bit, but can also increase the count (copying and pasting code). Still, these numbers are useful to get an intuitive feel for the size of a project.
I would say that falls under "poor coding style." If you find yourself autogenerating code, you need a more powerful programming language.
>>14
You can't make that one into a hard rule. Sure, there was this really bad "now the code will write itself automatically so you no longer need the programmers lol" marketing thing, but in some apps having some code autogenerated as a base for non-modularizable things, especially for parts of web apps that are as much data as they are code, it can be the way to go.
modding bitchbot (http://www.r1ch.net/projects/bitchbot/) to hell and back.
perl + irc + "we don't need no stinkin rfc" == FUN FOR EVERYBODY
>>15
If it's data, then make it data. Writing code for what is really data (GUI layouts come to mind) is a common cause of bloat and cruft.
>>17
But making sure that data is free from code can create needlessly complex systems. Especially on the web, the line between what is data and code sometimes really has to be blurred.
>>18
Whatever, just don't count it for purposes of this thread if it was autogenerated.
I was technical lead on a 300K project. My bible was "Large Scale C++" by John Lakos. I stuck pretty closely to its tenants and was amazed at how smoothly things went. 7 years later the code is still running fine, gets new features added on an almost daily basis, had grown to about a half a million lines of code, and still remains maintainable. Read the book. It's a slog, and must be read carefully, but afterwards you will be able to take on those monster projects.
The biggest program I've ever contributed code to is MAME. No idea how many lines it is, but it's pretty scarily big.
largest project I ever worked on was for a software engineering class, where we made a package that would allow someone to benchmark and test the reliability of the universities webmail service. The code was only about 2,000 - 2,500 lines or so, written in Perl/TK. The majority of the work was in the designing and database work, at least on our end of the package. In the end I learned that the webmail system was grossly more unreliable that I had previously anticipated, and that I hated mysql for giving me so many headaches during test case building.
The largest project I've ever worked on is a game for TINS that I'm about to get done with: http://amarillion.bafsoft.net/tins06/ It's nearly 2000 lines.
1.25 million lines of PHP and Perl, team of 8-12 at different points, with code dating back to when php3 was new, and crufty bits of perl from before php3 was released.
I still have nightmares to this day.
Currently working on a project that uses openGL and wxWidgets -- so far ~700 lines and no end in sight. With my poor programming practices, this is gonna be a bitch.
PHP portal + document management + other stuff, 210K lines, half of it is ok, a third of it is pretty good, the rest is mediocre. I'm the main developer there.
Hello World is the largest program I've ever written
shortest post
fail
nou
My semi-finished browser game HSS::Build, created for a school project. I'm sitting in school right now actually and am waiting to get the mark for this.