Often the actual selection of a programming language is out of your control. You may be forced to select a particular language and version. This is most often the case at work, where the company may have standardized on a particular programming language long before you joined the organization. If you are developing software for use within a company, it is a good idea to find out if any policies are already in place concerning programming languages. Each computer language has its own strengths and weaknesses.
Some languages are strong at processing algebraic formulas yet are weak when working with text.
Others have many features that make working with text a snap but are not very good at working with files. The list could go on and on, but you get the idea. No single computer language is good at every programming task. The best way is to ask people that are already working with the language. You should, of course, tailor the questions to the tasks you seek to accomplish in your programming.