Lines of code...
-
[...] The average was 5 lines of working code a day.
repectively 5 clicks a day when taking about VB programmers ;)
Disclaimer:
Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.repectively 5 clicks a day when taking about VB programmers Nice one !:laugh:
-
I guess the main point of my original post was misunderstood. This was not a "I wrote more lines than you" post, nor was it "I write more lines/day than you" post. I simply meant to convey my amazement at the fact that people like you and I could have written such a huge amount of code. > also rewriting code is not counted! ... which is why rewriting does count - you wrote both the original and the rewrite (again - I'm not talking about metrics you need to give to the boss at the end of the release). -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...
-
How many lines of code have you guys written so far in your life? I'm estimating I've written about 1 million lines :eek:. That might not seem a lot to people who have been at this since the sixties ;) but I still think that its a lot. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...
That's a tough one. Some of my components and apps I've rewritten from the ground up several times (yeah, one day I'll start designing before I start coding ;)), and some projects are modifications of existing work, where you modify half a line, or cut out 10 lines and add back 2. An interesting stat would be: (No. of lines of code you've written still in existences) / (No. lines written overall) The Mozart of computer programming would have this figure close to one. The Chris Maunder of programming would have this figure close to the other end of the scale. cheers, Chris Maunder (CodeProject)
-
I guess the main point of my original post was misunderstood. This was not a "I wrote more lines than you" post, nor was it "I write more lines/day than you" post. I simply meant to convey my amazement at the fact that people like you and I could have written such a huge amount of code. > also rewriting code is not counted! ... which is why rewriting does count - you wrote both the original and the rewrite (again - I'm not talking about metrics you need to give to the boss at the end of the release). -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...
Oz, how the heck do you estimate both original and rewrite? CodeGuy The WTL newsgroup: 890 members and growing ... http://groups.yahoo.com/group/wtl
-
Boy, that is really hard to say. But a 1,000,000? Even the best programmers only produce 100 lines of working code a day. (From a study many years ago. The average was 5 lines of working code a day.) That comes out to 26,000 lines of working code a year given 5 days a week, 52 weeks a year. Would take 38 years for the best of us to product 1,000,000 lines of code. Tim Smith Descartes Systems Sciences, Inc.
It's my opinion that anyone who produces an average of five lines of code a day deserves to be paid in banana dollars. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
It's my opinion that anyone who produces an average of five lines of code a day deserves to be paid in banana dollars. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
I will agree with that, althought it depends on the job. I was working once for a huge company (about 160,000 staff in total and 3,000 developers world wide) and to comply with ISO 9001 standards the procedure was in place that would effectively make you writing 5 lines of code per week, but at the same time you would write few pages about those lines - what they do etc...
-
I will agree with that, althought it depends on the job. I was working once for a huge company (about 160,000 staff in total and 3,000 developers world wide) and to comply with ISO 9001 standards the procedure was in place that would effectively make you writing 5 lines of code per week, but at the same time you would write few pages about those lines - what they do etc...
I look for ISO 9001 signs at potential employers offices, and run. As you'd know, ISO guarentees nothing about quality except consistency, and does that by generating wads of useless paperwork. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
How do you know Troy - did you have their source code? ;) -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...
Yes, I wondered that when I first read the post too.....:) > Andrew "Do you like my mask, it raises the dead...!" -- Buffy (season 3, Giles)
-
It's my opinion that anyone who produces an average of five lines of code a day deserves to be paid in banana dollars. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
What the study found is that the difference between the best of the best and the worst of the worst was HUGE. I have met programmers who can't write a line of WORKING code to save themselves. Tim Smith Descartes Systems Sciences, Inc.
I guess the question is one of metrics - lines of code are not really an indicator. For example, if Jim writes a compression algorithm in 20 lines of code and in the same time Bob's algorithm has 200 lines, assuming Bob's isn't better in terms of performance, who did the better job ? Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
How many lines of code have you guys written so far in your life? I'm estimating I've written about 1 million lines :eek:. That might not seem a lot to people who have been at this since the sixties ;) but I still think that its a lot. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...
No idea, couldn't guess. Depends on the project, been on some absolute shit projects where my staying awake was a big win let alone coding. Others I have a mile a minute as I have just clicked with what has to be done and was interested at the same time. Also now I only get to code on my own time, nothing here at work, all development done in the good ol' US of A. Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone
-
Boy, that is really hard to say. But a 1,000,000? Even the best programmers only produce 100 lines of working code a day. (From a study many years ago. The average was 5 lines of working code a day.) That comes out to 26,000 lines of working code a year given 5 days a week, 52 weeks a year. Would take 38 years for the best of us to product 1,000,000 lines of code. Tim Smith Descartes Systems Sciences, Inc.
The average was 5 lines of working code a day Who said it had to work?:)
-
Boy, that is really hard to say. But a 1,000,000? Even the best programmers only produce 100 lines of working code a day. (From a study many years ago. The average was 5 lines of working code a day.) That comes out to 26,000 lines of working code a year given 5 days a week, 52 weeks a year. Would take 38 years for the best of us to product 1,000,000 lines of code. Tim Smith Descartes Systems Sciences, Inc.
Tim In the early stages of the project, creating classes, functions stubs, you tend to generate tons of code. As the functions are implemented the code output slacks off, by the end of the project - bug fixes etc. you probably end up with 10-20 lines of code a day.
-
How many lines of code have you guys written so far in your life? I'm estimating I've written about 1 million lines :eek:. That might not seem a lot to people who have been at this since the sixties ;) but I still think that its a lot. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC++ experience that much more comfortable...
Some time ago, I programmed an application for a small company and my employer asked me to use a lot of lines of code because if not, that company would think it didn't worth what they pay for it (we gave them the source code), they just wanted to open the project and see thousands of lines so it's the most commented project I've ever programmed, every line had it's comment ! If ( a == b ) { //this is an if } else { //this is an else } ORi:)
-
No idea, couldn't guess. Depends on the project, been on some absolute shit projects where my staying awake was a big win let alone coding. Others I have a mile a minute as I have just clicked with what has to be done and was interested at the same time. Also now I only get to code on my own time, nothing here at work, all development done in the good ol' US of A. Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone
My collegue writes a lot more code than me, so if we were paid for each line should I work like him. >:confused: Some code of him:
BOOL CMyClass::getDirRoot(char* sDirRootPath)
{
BOOL bRet = TRUE;
CString sDirRootPath_tmp = getenv("Root");
CString sMsg = "\nRoot = "+ sDirRootPath_tmp;#ifdef _DEBUG
acutPrintf(sMsg);
#else
#endifif (sDirRootPath\_tmp.GetLength () <= 0) { sMsg = "No Root set"; AfxMessageBox(sMsg,MB\_OK); bRet = FALSE; } sprintf(sDirRootPath,"%s",sDirRootPath\_tmp); return bRet;
}
BOOL CMyClass::getDirRoot(CString& sDirRootPath)
{
BOOL bRet = TRUE;
CString sDirRootPath_tmp = getenv("Root");
CString sMsg = "\nRoot = "+ sDirRootPath_tmp;#ifdef _DEBUG
acutPrintf(sMsg);
#else
#endifif (sDirRootPath\_tmp.GetLength () <= 0) { sMsg = "No Root set"; AfxMessageBox(sMsg,MB\_OK); bRet = FALSE; } sDirRootPath = sDirRootPath\_tmp; return bRet;
}
Le Ridder Noir
Considderd to be the worlds fastest knoppenbonker.
one year of working experience with the worlds fastest copie paster(about 2000 lines a minute).
And experience with the one and only NewEra Guru and Crystal Ace. -
if ( a == b ) cout << a ; How many lines of code are there? ;P ;P ;P I vote pro drink :beer:
You could do it more: Instead of
if ( a == b )
cout << a;(2 lines) you could do
if
(
ab
)
{
cout
<<
a
;
}12 lines. Thats an improvement of 600 percent (let alone the comments that I've forgotten) :-). -- See me: www.magerquark.de Want a job? www.zeta-software.de/jobs
-
You could do it more: Instead of
if ( a == b )
cout << a;(2 lines) you could do
if
(
ab
)
{
cout
<<
a
;
}12 lines. Thats an improvement of 600 percent (let alone the comments that I've forgotten) :-). -- See me: www.magerquark.de Want a job? www.zeta-software.de/jobs
or, to make it really bad...
i\
f
(
a
=\b
)
{
c\
o\
u\
t
<\
<
a
;
}It also makes it nearly impossible to debug :rolleyes: - Anders Money talks, but all mine ever says is "Goodbye!"
-
Well, trust me, I didn't take the message as a "Mine is bigger than yours" message. Tim Smith Descartes Systems Sciences, Inc.
I hope that we're still talking about lines of code here... :-O (2b || !2b)
-
My collegue writes a lot more code than me, so if we were paid for each line should I work like him. >:confused: Some code of him:
BOOL CMyClass::getDirRoot(char* sDirRootPath)
{
BOOL bRet = TRUE;
CString sDirRootPath_tmp = getenv("Root");
CString sMsg = "\nRoot = "+ sDirRootPath_tmp;#ifdef _DEBUG
acutPrintf(sMsg);
#else
#endifif (sDirRootPath\_tmp.GetLength () <= 0) { sMsg = "No Root set"; AfxMessageBox(sMsg,MB\_OK); bRet = FALSE; } sprintf(sDirRootPath,"%s",sDirRootPath\_tmp); return bRet;
}
BOOL CMyClass::getDirRoot(CString& sDirRootPath)
{
BOOL bRet = TRUE;
CString sDirRootPath_tmp = getenv("Root");
CString sMsg = "\nRoot = "+ sDirRootPath_tmp;#ifdef _DEBUG
acutPrintf(sMsg);
#else
#endifif (sDirRootPath\_tmp.GetLength () <= 0) { sMsg = "No Root set"; AfxMessageBox(sMsg,MB\_OK); bRet = FALSE; } sDirRootPath = sDirRootPath\_tmp; return bRet;
}
Le Ridder Noir
Considderd to be the worlds fastest knoppenbonker.
one year of working experience with the worlds fastest copie paster(about 2000 lines a minute).
And experience with the one and only NewEra Guru and Crystal Ace.OK I have to ask it. what is a knoppenbonker? Michael Martin Pegasystems Pty Ltd Australia martm@pegasystems.com +61 413-004-018 "Don't belong. Never join. Think for yourself. Peace" - Victor Stone
-
Boy, that is really hard to say. But a 1,000,000? Even the best programmers only produce 100 lines of working code a day. (From a study many years ago. The average was 5 lines of working code a day.) That comes out to 26,000 lines of working code a year given 5 days a week, 52 weeks a year. Would take 38 years for the best of us to product 1,000,000 lines of code. Tim Smith Descartes Systems Sciences, Inc.