It is believed that many people who are beginners in programming will have difficulty in language selection. Frankly speaking, I think most people are afraid that their choice of language will be eliminated or not widely used, today I would like to talk about programming language choice of the point.
I want to use Perl and Python as an example, because the two languages are like Java and C + +, and the Perl and Python camps each have their own reasons.
The choice of language and operating system is very similar, some people love to use Linux some people love to use Windows, as for the final analysis of Linux is good or Windows good, no one can tell. There is no doubt that Windows has a huge advantage in everyday work, but Linux is more common in the professional world. Perl is like Windows,perl the ability to handle text so much that you will prefer Perl every time you encounter text-processing-related tasks. At the bottom of the design, however, Perl is no more than Python, and Perl is a linguist who designs Python as a mathematician. This determines that Perl is artistic and Python is logical, that Perl scripts tend to be used only once, and Python is better at reusing (because Perl scripts are often made for themselves, Python is different).
If you simply want to learn a language rather than work, I suggest you learn Perl,perl can make your imagination-perl the principle is to deal with the problem in the simplest way, 100 people with Perl to deal with the same problem will have 100 kinds of programs. If you need Perl or Python as much as I do on a daily basis, I suggest you learn both languages. Perl can learn a little bit more easily, mastering Perl's regular expression (the essence of Perl), small camel book knowledge enough to deal with 99% of the text processing problems, and 1% need to use a multidimensional hash. Python, you need to master the deeper, especially the Python object and the relationship between the variables, master the Python object processing way.
Not to be continued ....
Programming language selection (Perl and Python)-a little bit of my experience