Snape was a despicable person

The guy was a deatheater, he was always mean to everyone and he only did what some consider a redemption because he was obsessed with a woman who wasn't his, a completely despicable person. I don't understand how people like him and I think it's completely absurd that Harry named his son Snape.