Goldman began studying engineering at the Polytechnic School of the University of São Paulo when he was 18. When the 1964 Brazilian coup d'état took place, he was a militant of the Brazilian Communist Party (PCB). Soon after the AI-5, he became a member of the Brazilian Democratic Movement (MDB).