Germany has massive loans from the USA and UK and was assisted by tax breaks and other initiatives as well as a strong industrial base and an educated population. The Turks and others were initially presented as guest workers but of course they have not gone home!