SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Ten Million Lines of Code


Ten Million Lines of Code

Author
Message
Steve Jones
Steve Jones
SSC Guru
SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)

Group: Administrators
Points: 150974 Visits: 19455
Comments posted to this topic are about the item Ten Million Lines of Code

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
ddriver
ddriver
SSC Journeyman
SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)SSC Journeyman (97 reputation)

Group: General Forum Members
Points: 97 Visits: 250
I don't think that Quickbooks should be held up as an example of quality software or quality software processes. I am really not surprised that they took ten million lines of code to do something that poorly.
RobertYoung
RobertYoung
SSC Veteran
SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)

Group: General Forum Members
Points: 246 Visits: 232
Not only that, one wonders whether this CI meme will stall the dynamic language programming meme? Compiling doesn't do much good.
Robert.Sterbal
Robert.Sterbal
Say Hey Kid
Say Hey Kid (679 reputation)Say Hey Kid (679 reputation)Say Hey Kid (679 reputation)Say Hey Kid (679 reputation)Say Hey Kid (679 reputation)Say Hey Kid (679 reputation)Say Hey Kid (679 reputation)Say Hey Kid (679 reputation)

Group: General Forum Members
Points: 679 Visits: 2000
QuickBooks does things poorly in the same sense that capitalism is a bad economic system. It is, until you have to try anything else.
David McKinney
David McKinney
SSCrazy
SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)

Group: General Forum Members
Points: 2857 Visits: 2090
The advertisement which follows suggests that you can
"....reduce mistakes with Contiuous Integration..." but apparently not spelling mistakes! (Continuous.)
Antares686
Antares686
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: Moderators
Points: 27706 Visits: 803
I won't say it's great by any means, but I have used QuickBooks just fine in the past. The key thing here isn't necessarily quality though, the point is they use a validity method to determine the source code will compile and by doing it every few minutes they can catch errors sooner. This is great if your source is 10 million lines of code, but they still have to trace out the changes that caused the failure via the coders who developed said changes. That said do the coders not compile their own code to test the same thing before they submit, I mean I launch my code after almost every change I make to ensure compiles and there are no errors/warnings (I'm a bit of an obsessive on this), thus I am doing the exact same thing they are calling great, sure I am typically the only developer but on occasion I am not, and I do like to catch mistakes early, especially while me or the other developers still have the changes fresh in their heads. I don't think Inuit has cornered the market on this method nor does it make a product quality so I am not sure how this technique really is anything out of the norm and makes their practices better than others in large source sets. Hell, I just inherited a new app with lots of deprecated functionality that was never removed and have since I have no knowledge I have been refactoring the code and in many cases commenting large sections out just to see what errors I get. So far I have been able to remove about 12 classes, and the number of lines of code on most pages are typically 1/3rd - 1/8th the original size. Code does exactly the same thing, and in some cases runs faster, get's rid of a lot of unnecessary variables and calls that do nothing other than take up memory and streamline several functions that relied on try catch methods to make a decision to error safe checks. So I want to hear how to improve code by reducing bloat out of 10 million lines of code using some tool for auto refactoring that is amazing because it can find common functionality and refactor them into reusable objects reducing the lines of code and ensuring related processes stay synced in behavior.



Steve Jones
Steve Jones
SSC Guru
SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)

Group: Administrators
Points: 150974 Visits: 19455
ddriver (8/27/2012)
I don't think that Quickbooks should be held up as an example of quality software or quality software processes. I am really not surprised that they took ten million lines of code to do something that poorly.


Dynamic programming works well in some cases, but I'm not sure in all.

CI doesn't interfere with this, especially with databases. It can still run a set of changes through tests, even if they are uncompiled. The idea is that you have a process that combines changes and does pre-testing for QA, reporting back bugs quickly.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
lionfan91
lionfan91
SSCertifiable
SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)

Group: General Forum Members
Points: 5376 Visits: 431
Wow... 10M lines of code. I develop a .NET application that has 877+K lines of code spread out over 40 projects in a single solution. I thought that was pretty big...



Steve Jones
Steve Jones
SSC Guru
SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)SSC Guru (150K reputation)

Group: Administrators
Points: 150974 Visits: 19455
Antares686 (8/27/2012)
This is great if your source is 10 million lines of code, but they still have to trace out the changes that caused the failure via the coders who developed said changes. That said do the coders not compile their own code to test the same thing before they submit, I mean I launch my code after almost every change I make to ensure compiles and there are no errors/warnings (I'm a bit of an obsessive on this), thus I am doing the exact same thing they are calling great,
[\quote]

You're missing the change. If 25 developers make changes, how do you know they haven't caused each other problems? That's what this is designed to help find. There are plenty of developers, especially across staff changes, that might not recognize warnings as problematic. I'd hope they catch compile errors, thougt.


[quote]
I do like to catch mistakes early, especially while me or the other developers still have the changes fresh in their heads. I don't think Inuit has cornered the market on this method


The idea here is to catch mistakes early and feed them back to the developers within 30min or so when things are fresh in their minds.

This doesn't necessarily make better code. That all depends on the developers, but it does give you a way to reduce costs and potentially make better code by finding issues quickly. You could just get code out quicker, and it still be crap code.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
richardd
richardd
Hall of Fame
Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)

Group: General Forum Members
Points: 3244 Visits: 648
Steve Jones - SSC Editor (8/25/2012)
On the Windows platform, that system consists of 10mm lines of code ...


No wonder they've got so many LoC if they restrict the length of each line to 1cm! :-P



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search