Archive

Archive for June, 2010

What’s wrong with goto statements?

June 14, 2010 Leave a comment
Found this on the Channel 9 forum. It can be replaced by 4 lines of code.
int n, end = 0;
    here:
    n = 0;
    if(end == 0)
goto uuu;
    goto fiftyfive;
www:
    goto tnt;
xz:
    goto three;
two:
    n++;
    goto four;
uuu:
    end = 100;
    goto here;
    fiftyfive:
three:
    goto two;
nine:
    Console.WriteLine(n.ToString());
    goto www;
five:
    n = -2;
    goto three;
zero:
    if (n < 0)
goto end;
    goto nine;
four:
    goto zero;
tnt:
    if (n == end)
goto five;
    goto xz;
end:
    Console.ReadKey();
Categories: Technology

Possible Flyers Trades 2010

June 10, 2010 1 comment
Here’s what I came up with.
 
Forwards to keep:
  • Briere
  • Gagne
  • Hartnell
  • Leino
  • Carter
  • Richards
  • Giroux
  • JVR
  • Lappy
  • Powe
 
Forwards to put up for trade:
  • Laliberte
  • Carcillo (fun to watch, but takes too many penalties)
  • Nodl
  • Ross
  • Asham
  • Betts
 
Forwards to definitely trade:
  • Cote (worthless in today’s league)
Defense to Keep:

  • Pronger
  • Timonen
  • Carle
  • Coburn
  • Parent (he’s still young)

 
Defense up for trade:

  • Krajicek
  • Syvret
  • Bartulis (he’s young too, but we might get something for him)
 
Goalies to keep:
  • Leighton as backup
 
Goalies to trade:
  • Boucher (I like him, but he’s no good in the backup role and not good enough to be a Cup winner)
  • Emery (if he can ever play again)

 
After all that, the Flyers need to sign a starting goalie, OR sign Leighton as the starter and get a young goalie to put in the backup role. Maybe Backlund can be this guy.
Categories: Sports