I live in Spain, outside of those two hubs but always keep an eye on them. Both have healthy dev communities that organize monthly meetups and conferences where it's easy to connect with local startups. Lots of open opportunities, often open to foreign folks, and at least a few companies with very strong technical teams. Salaries aren't near the SF range but should allow you to afford a healthy work/life balance and enjoy your time here.