But Paul Graham is right, you weren't meant to have a boss. In fact this is not unique to programmers either. Nobody is meant to have a boss.
I encourage everyone to read "The Dawn of Everything" by David Wengrow and David Graeber to understand the kinds of human organizational structures that are possible and have existed in the past.