I was staunchly right liberal ("fiscal conservative" I guess) when I was 12-15. From around 15 I met people actually in poverty outside my family circle of really wealthy North Zealanders. Read the Communist Manifesto inspired by them and became a staunch follower of what I then thought was communism. (It wasn't, and I was an idiot.) I was very bright as a kid (in the abstract), could read anything and permanently remember it. (Had this ability until my illness robbed me of a proper memory.) However I was also very aware of this, being constantly told by adults, while having no social intelligence. So I was a teen iamverysmart; one gets defensive ablut the little they have. So I read Nietzsche and become hard social libertarian, hard left economic, and also staunchly anti-feminist. I think this is when I first had somewhat of a fully formed political identity.
I've since grown up from a lot of that, particularly understanding what feminism is and why it's good. It's a long and personal story there, my first encounter with feminism was very toxic, took me until university and new friends to learn how most feminists actually are, and that they actually want to work for the betterment of everyone, me included.
At the core of everything, I think it was good for me to both live in poverty and upper class as I formed some form of a political identity. Got me a good sense that the poor actually suffer problems, and wealthy upper classmen's primary daily concern is to what degree to waste money. :^)