Although Papert is most known for Logo, he did not believe learning how to program was specially good in itself.
It is the fact that the computer allows the child to model almost everything (at almost no cost) that allowed that child to develop and fall in love with a topic, the same way he fell in love with gears at a very young age.
In his own words [1]: "It did not occur to me that anyone could possibly take my statement to mean that learning to program would in itself have consequences for how children learn and think. [...] But encouraging programming as an activity meant to be good in itself is far removed, in its nature, from working at identifying ideas that have been disempowered and seeking ways to re-empower them."
[0] Papert - "Mindstorms" in the Foreword: 'The Gears of My Childhood'
[1] Papert - "What’s the big idea? Toward a pedagogy of idea power"