Caffeine is not your buddy. Only coffee quality and taste matter.
Discussion
Exactly if you are not sleepy, but previois night I had to restore some Nostr infos (more precisely all followings) so it lasted to 3 a.m. In this case the coffein was the only one that matters.
Regarding all other situations you are absolutely right.