12
There are many factors that would be influential:
This assumes that you actually have a choice of languages to choose from, of course. One language may suit the problem best, but if you don't know enough of it, then it's practically not an option, unless you have the time to learn.