My professor always said: "The sum of the problems is constant"
You can code faster, but then you might overlook things. You can work a lot and earn a lot of money, but you might struggle with nurturing your friendships. You can have a partner but then you'll have arguments with them. You can remain single but then you'll have to deal with loneliness.
It's pretty obviously wrong though. People aren't zero-sum creatures of perfect balance.
There are plenty of slow coders who overlook more things than some fast coders. Plenty of people not working a lot who still struggle to nurture friendships, and so on.
Isn't that quite a pessimistic view though? Of course there will always be something that irks you, but that does not mean you can't be fulfilled at some point in life and be aware that you are really happy and there is nothing you would change.
I think it depends on your perspective. You can think of it as pessimistic or optimistic. An optimistic view would be: There will always be problems, but I can deal with them. Everyone else also has problems. No matter the decisions I made, there is no reason to have regrets.
It helps me to know that the richest, most attractive or smartest person alive has the same amount of problems. It's just part of life and I am happy
You can code faster, but then you might overlook things. You can work a lot and earn a lot of money, but you might struggle with nurturing your friendships. You can have a partner but then you'll have arguments with them. You can remain single but then you'll have to deal with loneliness.