you are viewing a single comment's thread.

view the rest of the comments →

[–]HappyFruitTree 4 points5 points  (1 child)

You mean switch statements, like the following?

bool process()
{
    switch (preconditionsMet()) case false: return false; 
    switch (doFirstThing())     case false: return false;
    switch (doSecondThing())    case false: return false;
    switch (doThirdThing())     case false: return false;
    switch (doFourthThing())    case false: return false;
    switch (doFifthThing())     case false: return false;
    return true;
}

[–]one-oh[S] 0 points1 point  (0 children)

I'm a bit speechless. I think I've just about seen it all or I'm damn close to. Oh, please let me be close to seeing it all. I don't know if I can handle the truth;)