A salary of €40,000 results in a monthly take-home of about €2,540 (http://ie.thesalarycalculator.co.uk/salary.php) - plus pension, which is a fairly good salary in a city like Dublin for a developer at the beginning of his career (of course you would starve in SF with the same money!).
Pay peanuts, get monkeys.
I would contest the notion that a person who's been developing software for three years is in the middle of their career, though - even leaving the semantics aside, I see no way that's not a junior profile.