|
Well, write in Java, document getter and setters, done - application do nothing with more than 200,000 lines of code.
|
|
|
|
|
write in C#, even shorter!
|
|
|
|
|
John Simmons / outlaw programmer wrote: The final count is 1,061,156
After clicking the 'show disassembly' button?
"Real men drive manual transmission" - Rajesh.
|
|
|
|
|
We did a line count 3-4 years ago. We had 800K to 1.7M lines per product across five products, with some of the code shared between products, managed by a team of six. We've never placed much stock in lines of code, but it was a metric we needed for an IRS evaluation of our R&D program. They originally wanted a paper listing of everything we'd written over the preceding five year period.
Snicker.
We computed that printing the listing for all of the code would require a fairly standard roll of paper, 40 inches in diameter. It would have taken a little over an hour to print on one of our machines (we make commercial ink-jet printing systems). We were sorely tempted to do it, just so we could deliver this monstrosity to the IRS office. As it was, we delivered a spindle of ~100 DVD's plus a directory listing on paper of each disc which took up an entire case of letter paper. Bastards.
Software Zen: delete this;
|
|
|
|
|
I wouldn't like to be the guy that has to review it, either way.
|
|
|
|
|
SortaCore wrote: I wouldn't like to be the guy that has to review it, either way. Are you kidding?
We're talking about tax inspectors!
They live for this stuff -- I'd bet the guy assigned to it cancelled his holidays, he was having so much fun.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
He's probably still going through it, patiently correcting bugs and standardising it. He just needs a second project like that and he's set for life.
|
|
|
|
|
I heard third-hand that they delivered the DVD's and the directory listing to the IRS, the IRS guy essentially checked a box on a form, and they dumped the whole mess in the secure shredder while our lawyer watched.
We could have delivered a spindle of blank DVD's and a box of blank paper, and saved me a couple hours and our technician a couple weeks work (he did the DVD duplication and the directory listings).
Software Zen: delete this;
|
|
|
|
|
Your tax dollars at work for you.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Gary Wheeler wrote: We could have delivered a spindle of blank DVD's and a box of blank paper, and saved me a couple hours and our technician a couple weeks work (he did the DVD duplication and the directory listings).
How much did that roll of paper cost that spending a few weeks of labor was the smart choice?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Delivering the roll of paper would not have, er, 'pleased' the IRS official in charge. Displeasing the IRS is a good way to destroy your life if it's an individual case, or to lose your company if it's a business.
Software Zen: delete this;
|
|
|
|
|
As long as you complied, he could have used the discs to play frisbee with his dog.
Gary Wheeler wrote: We could have delivered a spindle of blank DVD's and a box of blank paper, and
saved me a couple hours and our technician a couple weeks work
That's the cost of doing business!
|
|
|
|
|
A million of so lines of code/comments is quite manageable by a single knowledgeable software developer. I've developed/maintained programs of this size for the past 25+ years w/ few problems...
|
|
|
|
|
The one I'm working on is about 2 million C++ 500k C and about 500k java. This was about a year ago, checked with cloc[^]
|
|
|
|
|
Working on a project using PDF forms and an iPad... wanted to transfer data to a local form through a hyperlink in an email...
The link that will work is something like:
pdfexfile:///templates/Packet10_14_13.pdf?Name_1=Testname&Address=123testdr
or
pdfexfile://localhost/templates/Packet10_14_13.pdf?Name_1=Testname&Address=123testdr
Either hyperlink (when sent through outlook) ends up like:
pdfexfile://templates/Packet10_14_13.pdf?Name_1=Testname&Address=123testdr
(Notice the slashes, without the 3rd or the localhost parm it will never work)
Evidently, there is no way to override this behavior and is considered a "feature".
|
|
|
|
|
...and what do you get if you leave off the localhost or the third slash?
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Forogar wrote: ...and what do you get if you leave off the localhost or the third slash?
An error. (I can send it as plain text and it gets formatted as a link that works on the receiving end but it doesn't work well and often parses the link wrong. Also have tested link by typing it directly into safari and it works fine.)
Microsoft seems to change any "//" to a "/" and any ":///" (add as many / as you like here) to "://".
Just their way of being helpful.
|
|
|
|
|
Is Outlook struggling because your protocol ends with "file"? Maybe it thinks you're sending a file:// link.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
I don't know if this will solve your issue, but it may be worth a try.
Office XP: http://support.microsoft.com/kb/903876[^]
Office 2003: http://support.microsoft.com/kb/900258[^]
Office 2007; Use the key: HKCU\Software\Microsoft\Office\Common\AllowConsecutiveSlashesInUrlPathComponent [Dword] Value = 1
I don't have a new office version to test this on, but at least it prevented the "autocorrection" of the link in Word and Outlook editor.
|
|
|
|
|
Thank You. I was not expecting a useful reply, I just had to vent. But your response is useful. Ya!!
|
|
|
|
|
Do you know which is the best robot that has been ever created ? The one that is closest to humans.
"If A is a success in life, then A=x+y+z. (Work is x; y is play; and z is keeping your mouth shut.)"
|
|
|
|
|
|
|
Seriously, The Stepford Wives ?
"If A is a success in life, then A=x+y+z. (Work is x; y is play; and z is keeping your mouth shut.)"
|
|
|
|