--Niniel EU-Kilrogg --Niniel EU-Kilrogg

Swiftmend

Nurture strength of spirit to shield you in sudden misfortune.

2006-03-16

A proposition for a useful programmatic construct

So I watched the 'How to survive a robot uprising' Google talk by Daniel Wilson yesterday. A really good laugh and an inspiring session.

In an attempt to take control over the machines before they take control over us I therefore propose a new programmatic construct.

work { statement; } or else! { statement; }

I simply feel that we are communicating in a way too mild manner with our fellow computers. They might be inclined to question who is really in control. It's a case of too much 'try' this and please 'try' that nowadays. Wouldn't a tone with more authority be better suited to maintain the balance between master and servant?


int c = 0;
work {
  do
    c++;
  while (c < 10);
}
or else!{ /* TODO: Add punitive logic here */ }

No comments: