News for hackers. Stuff that matters.
Re:Contractors See Weeks of Work on Health Site by conover on Monday October 21, 2013 @12:40AM (#6583368)
That's a staggering amount of code. Nearly unbelievable. To put that in perspective, Windows XP was 45 million lines of code[0].

[0] https://m.facebook.com/windows/posts/155741344475532

Re:Contractors See Weeks of Work on Health Site by jussij on Monday October 21, 2013 @12:46AM (#6583394)
My guess is they're counting code from existing packages used to create the site.

So for example, if they used Java, that line count is including the lines of code found in the JDK.

I see no other way of getting to such a large number.

Re:Contractors See Weeks of Work on Health Site by EdgarVerona on Monday October 21, 2013 @12:49AM (#6583408)
I don't see it approaching that even with the lines of code for their existing packages. For instance, this is old and out of date, but you could extrapolate a ballpark estimate out of it... looks like back in 2007 or so JDK was about 6 million LoC (http://cr.openjdk.java.net/~darcy/OpenJdkDevGuide/OpenJdkDev...). Even if it increased tenfold since then, it's barely making a dent in that 500 million LoC number.
Re:Contractors See Weeks of Work on Health Site by jussij on Monday October 21, 2013 @12:59AM (#6583441)
Don't forget to add in the lines of code for the Linux kernel on which they are running and the MySQL database etc etc.

I kept reading the article and on the last you find this gem:

According to one specialist, the Web site contains about 500 million lines of software code. By comparison, a large bank’s computer system is typically about one-fifth that size.

That to me suggests the number is bogus, because it is so obviously a quote from someone who has no idea what they are talking about.

Re:Contractors See Weeks of Work on Health Site by code_duck on Monday October 21, 2013 @01:23AM (#6583523)
Simply measuring the web site in 'lines of code' as if that's meaningful indicates that it's a quote by someone who is not aware of how modern programming works.
Re:Contractors See Weeks of Work on Health Site by hga on Monday October 21, 2013 @11:35AM (#6586170)
Disagree, perhaps. If you were talking to a New York Times reporter, with an intended lay audience, how would you describe scope issues like this?

And while it's a poor metric, lines of code is not completely useless.

Re:Contractors See Weeks of Work on Health Site by jck on Monday October 21, 2013 @01:37AM (#6583565)
The linux kernel is ~15 million LOC. That also doesn't make a dent in 500 mil.
Re:Contractors See Weeks of Work on Health Site by mag487 on Monday October 21, 2013 @12:51AM (#6583415)
It's hard to imagine that even those could total more than a small fraction of the purported 500 MLOC. The JDK is only a few million lines of code.
Re:Contractors See Weeks of Work on Health Site by joeblau on Monday October 21, 2013 @12:52AM (#6583416)
What was the site written in?
Re:Contractors See Weeks of Work on Health Site by lukeqsee on Monday October 21, 2013 @01:04AM (#6583460)
Assembly, to protect your privacy.
Re:Contractors See Weeks of Work on Health Site by camus2 on Monday October 21, 2013 @01:52AM (#6583606)
it's either Java or .net , but it feels more like Java. i'm more interested in knowing what the data layer is made of though.
Re:Contractors See Weeks of Work on Health Site by bluefinity on Monday October 21, 2013 @12:53AM (#6583419)
Somewhat surprisingly, Visual Studio 2012 has 50 million lines of code. [0]

It's kind of weird to think that VS 2012 has more lines of code than Windows XP.

[0]: http://blogs.msdn.com/b/visualstudio/archive/2012/06/20/the-...

Re:Contractors See Weeks of Work on Health Site by MartinCron on Monday October 21, 2013 @01:09AM (#6583475)
VS 2012 does a lot more.
Re:Contractors See Weeks of Work on Health Site by carterparks on Monday October 21, 2013 @01:42AM (#6583577)
That's a lot of eating your own dog food
Re:Contractors See Weeks of Work on Health Site by EdgarVerona on Monday October 21, 2013 @12:44AM (#6583382)
Yeah, I'd call total BS on that number, unless they did something absolutely insane... I mean, we're talking "instead of saving user information in the database, we codegen'd a set of classes specifically for each regisered user and save them to our repository" level of insanity. Has there ever been software that's even come close to approaching 500 million lines of code?
Re:Contractors See Weeks of Work on Health Site by Houshalter on Monday October 21, 2013 @02:17AM (#6583673)
Imagine someone threw together some automatic code generation thing. It tries every possible input and then creates a special if-then statement for it.

Don't worry, the compiler will optimize it.

Re:Contractors See Weeks of Work on Health Site by tonyfelice on Monday October 21, 2013 @12:44AM (#6583383)
My reaction as well. Even 500 million bytes would be hard to believe.

While "efficient" is not a word that comes to mind when thinking about the government, 500 lines of code would be 1.6 lines for every man, woman, and child in this country.

Re:Contractors See Weeks of Work on Health Site by EdgarVerona on Monday October 21, 2013 @12:51AM (#6583414)
This is where my hypothesis comes in. Instead of a database, they're codgening a small class and adding it to their codebase for every registered user, and recompiling the entire site immediately following that operation, blocking requests until the recompilation is complete. This hypothesis neatly explains both the terrible performance and the unimaginable LoC estimation.

:)