I would really not call code that looks like this "best of both worlds"
KJ_IF_MAYBE(value, maybeValue) { use(value); } else { handleNull(); }
if(!value) handleNull(); use(*value);
I would really not call code that looks like this "best of both worlds"
when compared to