Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

Ten Million Lines of Code Expand / Collapse
Author
Message
Posted Saturday, August 25, 2012 4:20 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 11:08 AM
Points: 31,371, Visits: 15,839
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
Post #1350079
Posted Monday, August 27, 2012 4:11 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, December 24, 2014 12:50 PM
Points: 29, Visits: 235
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.
Post #1350299
Posted Monday, August 27, 2012 5:20 AM


SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, September 11, 2014 12:01 PM
Points: 76, Visits: 232
Not only that, one wonders whether this CI meme will stall the dynamic language programming meme? Compiling doesn't do much good.
Post #1350321
Posted Monday, August 27, 2012 5:32 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: 2 days ago @ 6:05 AM
Points: 181, Visits: 1,899
QuickBooks does things poorly in the same sense that capitalism is a bad economic system. It is, until you have to try anything else.
Post #1350325
Posted Monday, August 27, 2012 6:59 AM
SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Monday, December 15, 2014 9:36 AM
Points: 652, Visits: 1,901
The advertisement which follows suggests that you can
"....reduce mistakes with Contiuous Integration..." but apparently not spelling mistakes! (Continuous.)
Post #1350363
Posted Monday, August 27, 2012 7:39 AM
SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: Moderators
Last Login: Friday, November 14, 2014 10:06 AM
Points: 8,370, Visits: 745
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.


Post #1350384
Posted Monday, August 27, 2012 8:07 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 11:08 AM
Points: 31,371, Visits: 15,839
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
Post #1350403
Posted Monday, August 27, 2012 8:08 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Friday, December 19, 2014 6:51 AM
Points: 3,876, Visits: 343
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...


Post #1350405
Posted Monday, August 27, 2012 8:18 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 11:08 AM
Points: 31,371, Visits: 15,839
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
Post #1350414
Posted Tuesday, August 28, 2012 8:11 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, December 12, 2014 10:30 AM
Points: 2,391, Visits: 578
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!



Post #1350972
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse