Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Locut0s

(6,154 posts)
Fri Sep 14, 2012, 09:44 PM Sep 2012

Breaking News: Romney's code leaked!...

A friend of a friend of mine managed to get this too me. Apparently leaked by some whistle blower at the top secret government facilities where Romney was programmed. This is a small excerpt of the actual code Romney is running!!


public class Romney{

private candidate obama = new Candidate();
private candidate romney = new Candidate();
private opinion romneyOpinion;
private boolean runningForOffice = true;

public static void main(string[] args){

while(runningForOffice){

attack(obama);

if(Polling.poll(obama) == Polling.poll(romney))
attack(obama);

else if(Polling.poll(obama) >= Polling.poll(romney))
romneyOpinion = obama.getOpinion();

else if(Polling.poll(obama) <= Polling.poll(romney))
romneyOpinion = Republican.getRandomTalkingPoint();


}

}
}

11 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Breaking News: Romney's code leaked!... (Original Post) Locut0s Sep 2012 OP
Well, there's his bug -- modern software doesn't use 'poll' anymore htuttle Sep 2012 #1
Romney's not programmed in modern software jmowreader Sep 2012 #11
With definitely a few NOOPS sprinkled in with a few endless LOOPS! For us, LOL, I would hope RKP5637 Sep 2012 #2
Very revealing -- and I thought he was programmed in COBOL Jessy169 Sep 2012 #3
Thanks. I'm sure much more code will surface over time ;) Locut0s Sep 2012 #4
oh yes COBOL oldhippydude Sep 2012 #8
That would cause a S0C7 ABEND! Jessy169 Sep 2012 #10
lol originalpckelly Sep 2012 #5
Can somebody translate this into Basic? kestrel91316 Sep 2012 #6
I give this code a C-- longship Sep 2012 #7
Definitely not C++ LOL n/t RKP5637 Sep 2012 #9

htuttle

(23,738 posts)
1. Well, there's his bug -- modern software doesn't use 'poll' anymore
Fri Sep 14, 2012, 09:47 PM
Sep 2012

It's all about asynchronous I/O nowadays.

jmowreader

(50,562 posts)
11. Romney's not programmed in modern software
Sat Sep 15, 2012, 12:59 AM
Sep 2012

He is programmed in PL/I and he's proud of that fact.

If you were to remove Romney's cover plate I'm sure you'd find at least a small handful of vacuum tubes in there.

RKP5637

(67,112 posts)
2. With definitely a few NOOPS sprinkled in with a few endless LOOPS! For us, LOL, I would hope
Fri Sep 14, 2012, 09:54 PM
Sep 2012

there's some PANIC code.

Jessy169

(602 posts)
3. Very revealing -- and I thought he was programmed in COBOL
Fri Sep 14, 2012, 10:06 PM
Sep 2012

Maybe a couple more lines of code are missing from the actual program:

if (boolOddEven = true)
{
boolDddEven = false;
Romney_Flip("lie goes here&quot ;
}
else
{
boolOddEven = true;
Romney_Flop("clarification or walkback or both goes here&quot ;
}

Jessy169

(602 posts)
10. That would cause a S0C7 ABEND!
Sat Sep 15, 2012, 12:14 AM
Sep 2012

Exactly what we're seeing from Romney, from all appearances. His whole campaign is in the middle of a friggen core dump!

Latest Discussions»General Discussion»Breaking News: Romney's c...