Other People Should Make My Life Easier 
2010.08.27 09:29 - Entertainment, Microcode, Whining, Work-related
I'd like to be able to do something like this
try {
    /* and then, a miracle occurs! */
} catch (BarException beFoo => String.Equals(be.Property, "Foo")) {
    // foo handler
} catch (BarException beBar => String.Equal(be.Property, "Bar")) {
    // bar handler
} catch (BarException be) {
    // general BarException handler
}
Mostly because it seems slightly cleaner than the current approach to handling, e. g., OracleExceptions, where one might care about some of the error codes represented by the exception, but not all of them:
try {
    /* and then, a miracle occurs! */
} catch (BarException be) {
    if (String.Equals(be.Property, "Foo")) {
    // foo handler
    } else if (String.Equals(be.Property, "Bar")) {
    // bar handler
    } else {
    // general BarException handler
    }
}
Some flexibility is lost vs. using if-else statements instead, but you could produce the same thing with typeof and nobody sane does that if they can get out of it, either. Semantically, it's pretty much equivalent and, syntactically, it's more verbose (to no obvious semantic advantage), so I'm sure it's not actually a good idea. (Additional evidence it's a bad idea: I'm sure I'm not the first to hit on this idea, yet it isn't implement in C# as far as I can tell. Presumably, those guys know what they're doing.)

Granted, it would be even better if Oracle would throw different exception types for different error codes instead of throwing the one type with slightly different data, but some problems seem, prima facie, less intractable than others.
  |  [ 0 trackbacks ]   |  permalink
Blazblue: Continuum Shift 
2010.07.30 11:09 - Entertainment, Microcode
Blazblue: Continuum Shift is out, so I picked up a copy. It's pretty much Blazblue: Calamity Trigger++, which is as expected.

Story mode's been improved: it's no longer necessary to lose each fight to complete a character's story, there's a skip feature for portions you've already seen, and losing doesn't necessitate backing out to the select or load screens and starting over.

There is a Challenge mode now. Apparently, this is good for getting the player up to speed on a character's moves. Being the player in question, I tried that out last night. First two missions are relatively trivial, third might be solvable in non-polynomial time with a third hand.

The 360 controller is rather sub-par for this kind of game, so I think I'm going to look into something like a dedicated joystick.
  |  [ 0 trackbacks ]   |  permalink
Speaking of Planning 
2010.07.13 09:17 - Entertainment, Microcode, Internet Stupidity, Miscellanea, Zombie Preparedness
I expect to shoot zombies or something Friday night, barring the unforeseeable.

Update: Or maybe TF2. See if I can't get one of the Engineer unlocks, maybe.
  |  [ 0 trackbacks ]   |  permalink
I Think I Understand Railfans And Flight Sim Addicts 
2009.10.09 14:09 - Entertainment, Microcode
I'm not sure I understand how there's a market for a railway simulator.

I'm always surprised when Steam advertises updates and add-ons. Not displeased or anything, I just can't quite reconcile the sort of person I've seen working on model train layouts or chasing steam engines cross country (i.e. my Dad) with the sort of people I know that enjoy computer gaming.

On the other hand, I don't really grok the virtual air traffic controller thing, either, so maybe I'm just not sufficiently imaginative.
  |  [ 0 trackbacks ]   |  permalink
Less Stressed Out Now. 
2009.07.08 11:26 - Entertainment, Microcode, Internet Stupidity, Meatspace Stupidity, Miscellanea, Zombie Preparedness
Apparently, two hours of zombie killin' on Monday night was darned cathartic.
  |  [ 0 trackbacks ]   |  permalink

Back Next