I’ve read before that practicing attitudes like gratitude and humility can help re-program the brain in a positive way. Conversely, you (or your toxic parents) can also train the neural network in your brain to tend towards negative thoughts. I thought of this when I saw this article by Annie Wood titled, How complaining rewires your brain for negativity (and how to break the habit).
Thought of the day: Some people are hard to love. I’m sure there are more categories than this, but the people I’m thinking of today are either mean, negative, self-pitying, or in other cases, they just don’t give you anything to love.
An important part of this thought for me is that none of this has to do with what a person looks like, it’s all about their attitude.
Here's the source code for a Scala function to determine whether signs (positive, negative) of two values are opposite: