As always to each his own...if I am under the basket and a kid says something to me at a level only the immediate area can hear he usually gets a pass with me. But at the same time he curses, or tells me I suck...something personal..he gets whacked. The last 2 people I whacked were for arm motion only without words...one coach and one player at the top of the key. But after 20+ years of officiating multiple sports my skin is fairly thick...
I do the same in baseball...kid looks down towards the plate and says "you missed that one blue" gets a pass...same kid looks back in my direction without saying a word but shows everyone in the park his disapproval...better be swinging the next pitch I don't care where it is.