Marx didn't write about communism until a couple centuries later. The ideas were very similar though.
It's funny how the father of communism was basically an intellectual who leeched off of his wealthier capitalist relatives (the family behind Philips NV).