Now like many emigrants, way beyond the typical age that HR sees as acceptable to still be an IC, instead of a manager for fresh graduate developers, which closes many doors.
Then there is the work culture, that rather promotes connections than performance, managers that misunderstand the flex time concept to mean their employees get to work as many hours as they require them to do so (many times not officially counted for), small shops using pirated software or renewed trial versions, and many other issues.
So eventually after tasting how good work experience feels like, in countries where everyone on the building gets the union deals, stuff gets sorted out when asked for, overtime is respected and paid accordingly, and many other improvements, it is hard to get back, after a certain point.
Portugal is not alone in this, I get similar feedback from many southern Europe friends.