switch statements

switch statements require you to exhaustively consider all relevant or possible inputs (if you don’t rely on default).

Interestingly, the notion that switch statements can require a default is reflective of the truth to the idea that when the stakes get high, we all fall back to our default level of training or function. This has global applications to our functionality and, by extension, the inputs (things,people/their methods,contexts) in our lives as well

  • @[email protected]
    link
    fedilink
    English
    1710 months ago

    Do the important shit first.

    I guess this may be more of a project management thing, but trying to figure out what the most important part of a task is, and getting that done first.

    If I’m cleaning the bathroom, I do the sink, because if I have to stop, that’s typically the grossest part.

    When I’m doing my taxes, I do the stupid parts that I can’t afford to get wrong first.

    When I’m packing for a trip, I get the stuff I need day-to-day sorted out and in my carry-on.

    I don’t think these are great examples, but they mean something to me.