There is a BIG difference between Communism and Socialism. Communism as implemented by Lenin. Mao and others was a dictatorship overseen by an oligarchy. Communism as implemented by Vladimir Lenin's Russia (1917-1924), Mao Zedong' China (1949- 1976) and others although originally based on the good intentions of Marx's socialism, a republican classless society, never achieved nor really even pursued that goal.
Socialism as I see it can be likened to a love of virtue, reciprocity and Justice, ESSENTIAL components of a republic as espoused by Montesquieu in 1748 with "The Spirit of the Laws" – more than to Karl Marx's Communist Manifesto (Das Kommunistische Manifest) 1848. The "The Spirit of the Laws" (1748) was one of the founding fathers essential textbooks at the founding of our nation in 1776.
I quote from James Madison in the Federalist Papers (#51) at the ratification of the Constitution for the United States of America:
"Justice is the end of government. It is the end of civil society. It ever has been and ever will be pursued until it be obtained, or until liberty be lost in the pursuit. In a society under the forms of which the stronger faction can readily unite and oppress the weaker, anarchy may as truly be said to reign as in a state of nature, where the weaker individual is not secured against the violence of the stronger; and as, in the latter state, even the stronger individuals are prompted, by the uncertainty of their condition, to submit to a government which may protect the weak as well as themselves; so, in the former state, will the more powerful factions or parties be gradually induced, by a like motive, to wish for a government which will protect all parties, the weaker as well as the more powerful."
I think he was talking about the love of virtue and what would be come known as SOCIALISM even though he had no knowledge of Karl Marx as yet.
To Kill a Mocking Bird, The Denial of Due Process
"agere sequitor esse"