It only took fifty years for Fidel Castro to realize (or at least to admit publicly) that the communist system turns countries into economic basket cases. Karl Marx advocated the post-revolution Workers’ Paradise as a secular substitute for the Christian vision of heaven. Those who believed the lie frequently ended up in something approximating a living hell.
Castro killed or chased out of the country tens of thousands of his fellow Cubans and destroyed the country’s middle class. His regime also stole pretty much all the property in Cuba with promises that everything would be managed for the common good. The result has been five decades of economic stagnation and rationing of basic necessities for the Cuban population.
As Daniel Mitchell says, let’s file this one in the “better-late-than-never” category. And if you would like to know why economic central planning cannot work even in theory, see the works of Ludwig von Mises and F. A. Hayek.