Isn't it that maintaining large codebases in the long run is just hard? What language is not a trap?
But sometimes the productivity benefit is all that matters and you accept you may have to throw it all out later (or invest insanely in making it work)... it's all about making an informed decision.