When I played basketball in high school, I was taught to not look at the score until the final buzzer. You play the entire game like the score is tied. Play your hardest to the end.
I don't see anything wrong with what that player did versus when a team is able to get up 30 points or more in a blowout.
It's got nothing to do with class, but competition.
No HS basketball coach, with any class, ever coached his kids to shoot the ball in a blow out at the end of a game when a dribble out will suffice. I’ve seen little league lay coaches do it, because they’re ignorant.
If your coach coached that way, I have a news flash for you, he was a classless jerk.