In Nicaragua, the working-class was only 20 percent of the economically active population. If you include the entire population of 4 million people, the percentage drops to 4 percent. These sectors were of course powerful components of the revolution but did not have the class consciousness typical of wage-earners. Union consciousness was weak also since only 6 percent held membership. The unions themselves had not been a dynamic arena of struggle against the Somoza dictatorship.
Socialism presupposes a dictatorship of the proletariat.
To call for socialism in Nicaragua in 1980 without having examined the class composition of the country is not the method of Marx, Lenin and Trotsky. When a country has a working-class that is such a small minority of the population, the call for it to rule society is not a call based on historical materialism but on faith. Weak socialist parties, concentrated in light industry. Could depend on support from left socialist parties in Europe and new Communist Parties. Industry devastated by civil war, but could produce steel, chemicals, machine tools, etc.