Going by your username, are you German as well?
I'm also going through a breakup right now, albeit from a shorter relationship. I was happy to spend Christmas with my sister to have some illusion of a functional family, it was nice. It feels unbearable at times but I try to find solace in the fact the world is so vast and full of opportunity and so much more than what you're (I am) able to see in the current moment. Your plan to study to become a programmer sounds great and you'll be in a much different place in a year than you are now. Hope you can pull through until then.