It's one of those things where it's too long to use ternary, but I don't want to have to declare the variable outside the if/else. Do you have a stylistic recommendation?