It didn’t work out. Only after Mao’s death and a near total turn around in policies did the Chinese economy modernize.
Incorrect. In the People's Republic of China, under Mao and later the Gang of Four, growth was overall positive but was unstable. The centrally planned economy had brought great benefits in many areas, but because the productive forces themselves were underdeveloped, economic growth wasn't steady. There began to be discussion and division in the party, until Deng Xiapoing's faction pushing for Reform and Opening Up won out, and growth was stabilized:


Deng's plan was to introduce market reforms, localized around Special Economic Zones, while maintaining full control over the principle aspects of the economy. Limited private capital would be introduced, especially by luring in foreign investors, such as the US, pivoting from more isolationist positions into one fully immersed in the global marketplace. As the small and medium firms grow into large firms, the state exerts more control and subsumes them more into the public sector. This was a gamble, but unlike what happened to the USSR, this was done in a controlled manner that ended up not undermining the socialist system overall.
And the claim that in the parallel comment about life expectency doubling because of Maoist policies is a blatant lie based on malicious misinterpretation of statistics.

"Malicious misinterpretation of statistics" my ass.