You are right to caution against this advice, but I don't think that was actually written as advice that was meant to be followed. Those struck me as illustrative examples of unconventional places to initiate a conversation. Nobody is telling OP to actually do those specific things, just to consider them.