Fine distinction, but I would call this "hitting on" rather than "flirting"?
Flirting is supposed to be ambiguous and deniable, so (for example) there's no rejection as such, just non-response. People should flirt more, but you mostly can't do it with strangers, and if you're annoying someone then it was never deniable and you're doing it wrong.
Vague dating discourse thoughts:
Many people say men need to get better at flirting so they can approach strangers, but also many men say they’ve been trying to approach strangers and they’re getting increasingly hostile. As one of the hostile strangers, I’d like to own up to this, I hate being approached by men I don’t know. It makes me freaked out and anxious. I would like to be chill and coolgirl about it, I understand these people are not a threat to me, but still I don’t like it. I don’t mind chit chatting with strangers but the second I sense someone wants something from me I get very guarded and slightly annoyed.
Charming a strange woman, as a single man, is extremely hard mode. Not at all to say don’t do it, just that if it seems difficult that’s bc it is. Idk if it’s reasonable to imply this is a potential romantic path forward for the average sensitive young man.