In some code I'm writing right now, I have something like this:

if (uncommon_condition) {
    do_something_simple();
} else {
    do();
    something();
    long();
    and();
    complicated();
}


Part of me thinks "It's fine the way it's written. Simple cases should go first and more complicated cases should go next." But another part says: "No! The else code should go  under the if, because if is for dealing with unusual cases and else is for dealing with all other cases." Which is correct or preferable?


Question: How do I map a key into the shift key in Windows? (see picture of Canadian French keyboard)
Answer: You might check out the question I asked earlier about key mapping. I put up a tut there for how to assign keys using the registry and another user, Yosh, put a link to some software that will do this for you.

I've never tried this on a french keyboard before but if you decide to do it manually, this hex key should map '\' to alt+1

00,00,00,00,00,00,00,00,3,00,00,00,2B,00,78,00,78,00,2B,00,00,00,00,00