In most cases this will boil down to:
n := defaultVal
if expr {
n := otherVal
}
Which I think is easier to understand, and not that much more typing. YMMV of course.