• This is a political forum that is non-biased/non-partisan and treats every person's position on topics equally. This debate forum is not aligned to any political party. In today's politics, many ideas are split between and even within all the political parties. Often we find ourselves agreeing on one platform but some topics break our mold. We are here to discuss them in a civil political debate. If this is your first visit to our political forums, be sure to check out the RULES. Registering for debate politics is necessary before posting. Register today to participate - it's free!
  • Welcome to our archives. No new posts are allowed here.

Idiotic Computer Algorithms (1 Viewer)

danarhea

Slayer of the DP Newsbot
DP Veteran
Joined
Aug 27, 2005
Messages
43,602
Reaction score
26,256
Location
Houston, TX
Gender
Male
Political Leaning
Conservative
Having so much fun with Idiotic Mathematics in another thread, I thought I would start this one:

This algorithm is written in Delphi (or Pascal):

var i, j: integer;
hell_freezes_over, computer_crashes: boolean;

begin

{initialize}

i:=0; j:=1;
hell_freezes_over:=false;
computer_crashes:=false;

{now the fun begins }

repeat
i:=i+j;
until (hell_freezes_over OR computer_crashes),
{whichever comes first - LOL}

end.
 
Anybody remember that, according to Abbott & Costello, 13 x 7 = 28?...:cool:
 
Coding an OS and programs is demanding task and required you to be completely logical.
 
Linux shutdown progam. "killall" gets me every time. :lol:
 

Users who are viewing this thread

Back
Top Bottom