For work we find the technology community more diverse and deeper. Also for internationals choosing to move to somewhere attractive Spain offers a great balance of lifestyle and work. I would argue Lisbon is sort of the exception in Portugal; and even then it is a bit limited with no real domestic scene more people seeking low cost or nearshoring.
We were considering moving the company to Spain after Brexit but the reputation of the Spanish tax office as extremely bureaucratic and unfair is a huge deterrent.
Purportedly they can fine you tens of thousands of euros for tiny honest mistakes even if you don't owe one cent of tax (Modelo 720).