@Adam there would be zero effect
for the code execution but there would be an effect for communicating intent
to other programmers. That can include yourself in the future. If you see the signatures
async foo()
and
bar()
which one would you say returns a promise and which one would you not be sure of? Some editors might only show you the signature, after all. Alternatively, you could just look it up yourself. Having to read the code further takes a non-zero amount of time. You're arguing for adding more dev time just because 5 bytes are
slightly superfluous but not incorrect. —
VLAZ 35 secs ago