Yugoslavia was somewhat fortunate because it had a market economy.
One of the few things Tito did right after breaking with the Soviet Union was to abandon rigid central planning.
They’ve done just the opposite in Venezuela.
Yet the results were still much the same. It was bad and made a distinct impression. My parents had visited in the summer for a few years before we moved but for me, as a child, I will never forget how different it was than here in the US.