Barcelona - one of the best all-around cities in the world (climate/culture/architecture/world proximity/quality of living/beach/mountains) and a growing tech scene. Very easy to pick up development work here for a local company, you won't be required to know Spanish/Catalan for a job. The only downsides are that the pay is relatively low (€43k average for SE) and it can be quite difficult to find a place to live wit…
For example, a salary advertised as EUR 45K in Spain does not include taxes and benefits (mostly unemployment insurance and medical) paid by the company.
So a SE with a gross salary of EUR45K directly costs the company employing here some EUR60K (i.e. some USD70).
The employee full cost to the company is never konwn to the employee (some 30% is somewhat hidden), unlike in other countries such as France. I guess it helps government to appear they do more with less taxes seen by their voters.
There are other indirect benefits, such as layoff benefits. If a Spanish company fires you without cause, it is liable to pay you 33 days per year worked.
I'm mentioning because comparing gross salaries in different countries, is a bit like comparing apples to samsungs.