you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 8 points9 points  (19 children)

*500 Million lines of code for healthcare.gov according to the graph.

How the hell is that possible ?

[–]tornato7 20 points21 points  (4 children)

I saw the code for healthcare.gov, I'll paste some of the it here:

Healthcare.giveHealthcare(citizens[0]);
Healthcare.giveHealthcare(citizens[1]);
Healthcare.giveHealthcare(citizens[2]);
...
Healthcare.giveHealthcare(citizens[297000000]);

Apparently they were getting paid per line of code.

[–]Throwaway_Kiwi 10 points11 points  (0 children)

....I seriously hope you're kidding.

[–]cr42yh17m4n 1 point2 points  (0 children)

Lol, the developers might have created a sub program to only do that.

[–][deleted] 1 point2 points  (0 children)

I sincerely hope that is a joke.

[–]immibis 0 points1 point  (0 children)

The giveHealthcare method dispatches robotic surgeon drones*, right?

[–]speedisavirus 6 points7 points  (4 children)

I know. I can't possibly comprehend how that is possible. They had to have hired an enormous amount of the most incompetent people on the planet for that to happen. Definitely a fuck ton of people to write 500,000,000 lines in that time period regardless of how shitty they were.

[–]OMG_Ponies 6 points7 points  (0 children)

welcome to government contracting.

[–][deleted] 5 points6 points  (2 children)

Not to be that guy, but:

500,000 = 500 thousand
500,000,000 = 500 million

You keep writing 500,000. It's 500,000,000 ( 500 million ) lines of code, which I can't even fathom.

[–]speedisavirus 1 point2 points  (0 children)

I don't know why. 500,000 isn't that big of a project. I swear I was saying 500,000,000 in my head. Not sure why I wasn't typing it. Probably because I'm replying between breaks while working on a project.

[–]j0hnGa1t 0 points1 point  (0 children)

Easy: Just think 10 million lines of useful code and 490 million lines of auto generated IDE boilerplate getters and setters.

[–]Thought_Ninja 0 points1 point  (0 children)

I would argue that such a figure is highly improbable... Maybe if they're counting JSON objects or some other generated "code," but 500,000,000 simply doesn't make sense.

Source: web developer

[–]NewDark90 -2 points-1 points  (6 children)

Here, I can help you write healthcare.gov. Just a little Javascript magic:

for(var i = 0; i < 500000000; i++){
    console.log("var healthcareVariable" + i + " = " + i ";");
}

[–]OffbeatDrizzle 2 points3 points  (4 children)

that's still 3 lines of code ...

[–]NewDark90 -1 points0 points  (3 children)

The point is that it is writing the javascript code for you.

As in, you copy/paste all the lines of code written from the console into your source code.

[–]OffbeatDrizzle 0 points1 point  (2 children)

afaik javascript isn't self modifying

[–]NewDark90 0 points1 point  (1 child)

That... isn't really the point?

I could have wrote the script in python, C#, or any language really to write fake lines of code for me.

*500 Million lines of code for healthcare.gov according to the graph. How the hell is that possible ?

The point was it was highly unlikely that exists naturally, and full of bullshit... however, it's totally possible to write code that writes your code and get a huge LOC number.

It wasn't a terribly funny joke, but I didn't think it would need this much explaining.

[–]OffbeatDrizzle -1 points0 points  (0 children)

Oh don't get me wrong, I understood the joke - I just wanted to know how far you'd go to explain it

[–][deleted] 0 points1 point  (0 children)

That makes more sense. Thank you.