Schopenhauer
The concept originates from German philosopher Arthur Schopenhauer's Parerga und Paralipomena, Volume II, Chapter XXXI, Section 396. In his English translation, E.F.J. Payne translates the German "Stachelschweine" as "porcupines." Schopenhauer's parable describes a number of hedgehogs who need to huddle together for warmth and who struggle to find the optimal distance where they may feel sufficiently warm without hurting one another. The hedgehogs have to sacrifice warmth for comfort. Schopenhauer draws the conclusion that, if someone has enough internal warmth, they can avoid society and the giving and receiving of psychological discomfort that results from social interaction.
Read more about this topic: Hedgehog's Dilemma