You sorta answered your own question there - it's largely, if not wholly, about your childhood experience, what validated you etc. Gonna sound very projectionist and therapising here - but I'd say with a 70-80% probability that op (or the myriad software engineers with this trait) had someone of significance in their childhood that gave them praise when things were perfect, or when they knew something.